Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

PsExecHelper

Contains functions for working with Sysinternals PsExec

Functions and values

Function or valueDescription
execRemote(...)
Signature: host:string -> username:string -> password:string -> exe:string -> inputs:string -> timeout:TimeSpan -> unit

Use Sysinternals PsExec to execute a process on a remote machine.

Parameters

  • host - The hostname of the machine to connect to.
  • username - A username valid for connecting to the remote machine.
  • password - The cleartext password of the given user.
  • exe - The path to the file that is to be executed.
  • inputs - The command-line arguments to pass to the remote process.
  • timeOut - The timeout for PsExec.