Run a powershell script that is in a remote server
i trying run powershell script in remote server. can please help?
*note: not trying run local ps script on remote server.
thank you.
hi champ,
just understand correctly, trying this:
\\server\share\scripts\script.ps1
and errors on you? executionpolicy maybe?
try running this:
set-executionpolicy unrestricted -scope process \\server\share\scripts\script.ps1
if that's not it, you'll need explain scenario in more detail , provide errors. can use reproduce issue.
cheers,
fred
there's no place 127.0.0.1
Windows Server > Windows PowerShell
Comments
Post a Comment