You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I have a ps1 script locally, and I need to run a function on the remote host.
Does this library provide a way to run said function in the remote in a way similar to how "Invoke-Command -ComputerName ServerName -FilePath c:\Scripts\scriptname.ps1" would in powershell?
Or do I need to copy the script into the host first, then use RunPSWithContextWithString to run it?
The text was updated successfully, but these errors were encountered:
Greetings. Didn't know where to ask.
Let's say I have a ps1 script locally, and I need to run a function on the remote host.
Does this library provide a way to run said function in the remote in a way similar to how "Invoke-Command -ComputerName ServerName -FilePath c:\Scripts\scriptname.ps1" would in powershell?
Or do I need to copy the script into the host first, then use RunPSWithContextWithString to run it?
The text was updated successfully, but these errors were encountered: