|
Re: executing powershell scripts on server If you are running your script on your machine that uses Get-WMIObject to manage a remote machine, the remote machine's execution policy is irrelevant. But if you have an interactive session and the policy is set to restricted you're out of luck running a script. you can try copying and pasting the contents of the script into a PowerShell session, but if you don't have admin rights to begin with, I doubt you'll be any more successful. |