Bypassing Execution Policy for a specific host RRS feed

  • Question

  • Is is possible to have the execution policy set to remotesigned but have specific hosts set to bypass? I am administering an SCCM 2012 environment and I want to be able to run Powershell to check for the existence of packages or applications but it keeps erroring out that the script is not signed. I tried adding the server to wsman:\localhost\client\truestedhosts but that did not seem to work either. Is this possible?



    Tuesday, January 21, 2014 4:31 PM


All replies