About 28 results
Open links in new tab
  1. Set-ExecutionPolicy Unrestricted -force

    Feb 3, 2012 · Set-ExecutionPolicy Restricted When run powershell.exe test.ps1 at command prompt, I got

  2. Calling a CMD Shell variable from PS Shell

    I have a batch file that executes a PS script. It is like this: @echo off powershell.exe -executionpolicy unrestricted -command .\MyPSScript.ps1

  3. The file \\Server\ps.ps1 is not digitally signed. The script will not ...

    The file \\Server\ps.ps1 is not digitally signed. The script will not execute on the system. Archived Forums 901-920 > Windows PowerShell

  4. Executing a program with elevated privilegies

    Set-ExecutionPolicy Unrestricted This will work for the setting of privaledges but I am currently asking about how I can use this in an IF statement to first check then apply like this:

  5. Azure backup not starting on Schedule

    Users experiencing similar issue have fixed the issue by setting theexecution policy from undefined to unrestricted, so you need to run " Set-ExecutionPolicy Unrestricted " in PowerShell (Open PS in …

  6. Set-ExecutionPolicy -unrestricted through answer file?

    dunno about WDS Answer-File called scripts, but if you call powershell.exe, you can specify the parameter -ExecutionPolicy Unrestricted. If that's viable to do directly, great.

  7. Run a powershell script that is in a remote server

    And it errors on you? Something about ExecutionPolicy maybe? Try running this: Set-ExecutionPolicy Unrestricted -Scope Process \\server\share\scripts\script.ps1

  8. SCUP 2011 failure to publish Full Content

    I have run into an issue that appears Cert related but I cannot be too sure. I have been able to publish metadata only to WSUS server, and it fail miserably when doing full content, that’s where the cert …

  9. ImpersonateLoggedOnUser () or SetThreadToken () and ERROR_BAD ...

    Oct 7, 2015 · It works perfectly, but the calling process must run with "the maximum possible permission" (unrestricted). This can be achieved by starting this process using scheduled tasks. …

  10. Task Scheduler with PowerShell - Task completed with Return code 0

    We have on Task scheduler job to run powershell script but it is always completed with return code 0 and not running the script. We have execution policy on the server is Unrestricted