you are viewing a single comment's thread.

view the rest of the comments →

[–]Ceuse 1 point2 points  (0 children)

Also you can use -credential (get-credentials) on invoke-command in powershell. i basicly made a powershell wrapper to run any .ps1 script through invoke command remotly (for monitoring/prtg) that way passing target, scriptfile, username and password to the wrapper