Execute powershell script remotely with parameters #15243
Unanswered
amitoverflow-ui
asked this question in
Q&A
Replies: 1 comment
-
Try something like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to execute powershell script on a remote computer and pass parameters to script?
Something of sort:
Invoke-Command -ComputerName RemoteComputer -FilePath pwshFile.ps1 -param1 param1Val -param2 param2Val
Beta Was this translation helpful? Give feedback.
All reactions