Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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.