Skip to content

Instantly share code, notes, and snippets.

@techthoughts2
Created September 29, 2015 06:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techthoughts2/c5f6e76f39eca97020f9 to your computer and use it in GitHub Desktop.
Save techthoughts2/c5f6e76f39eca97020f9 to your computer and use it in GitHub Desktop.
Invoke-Command
Invoke-Command $dedicatedserversession - filepath C:\path\test2.ps1
Invoke-Command $nodes -ScriptBlock ${function:get-thename}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment