This PowerShell module is designed to run commands on remote computers but without using PowerShell remoting. It takes advantage of cloud services like Dropbox and OneDrive. The central concept is that you create a file with instructions about a command to run on a remote or target computer. The file includes the target computer name. The remote computer is monitoring a shared folder and when a matching file is detected the operation is invoked. The shared or common folder is managed by whatever cloud or other service of your choice.
You can install the latest version from the PowerShell Gallery:
Install-Module PSRemoteOperationsSee About_PSRemoteOperations for more detail. Pay close attention to the details on defining values for $PSRemoteOpPath and $PSRemoteOpArchive.
Or check out the individual commands:
- Get-PSRemoteOperationResult
- Get-PSRemoteOperationResult
- Invoke-PSRemoteOperation
- New-PSRemoteOperation
- Register-PSRemoteOperationWatcher
- Wait-PSRemoteOperation
- New-PSRemoteOperationForm
- Register-PSRemoteOpPath
- Import-PSRemoteOpPath
The module includes a command called [New-PSRemoteOperationForm](docs/New-PSRemoteOperationForm.md). This is intended to provide an easy way to setup a new remote operation file. You launch the form from the PowerShell prompt.
PS C:\>New-PSRemoteOperationFormThis should work fine for simple script blocks. For anything more complicated, it is recommended that you use a shared script file.
The long-term goal is to ensure that this module will work cross-platform and in PowerShell Core. Basic functionality should exist running this module on PowerShell Core, both in Windows and non-Windows environments. Support for CMS messages is limited to Windows platforms through the use of dynamic parameters. Register-PSRemoteOperationWatcher requires a Windows platform but should work under PowerShell Core. For non-Windows systems, you will have to come up with your own tooling for monitoring and execution using Invoke-PSRemoteOperation.
Last updated 2019-08-20 13:31:49Z UTC


