Difference between revisions of "Power Shell"

Jump to navigation Jump to search
296 bytes added ,  10:18, 4 May 2010
(→‎Getting Started: Added "Execution Policy")
(→‎Execution Policy: Added Bypass)
Line 10: Line 10:
On the first run you need to allow Powershell to scripts (you need to run this command as an administrator, so if you're using Windows 7, for example, you'll need to start the Powershell console as an administrator, regardless of whether you're currently logged in as an admin)...
On the first run you need to allow Powershell to scripts (you need to run this command as an administrator, so if you're using Windows 7, for example, you'll need to start the Powershell console as an administrator, regardless of whether you're currently logged in as an admin)...
<source lang="powershell"> Set-ExecutionPolicy RemoteSigned </source>
<source lang="powershell"> Set-ExecutionPolicy RemoteSigned </source>
 
It is possible to bypass the Execution Policy entirely (though you do so at your own risk, should only be used to run a script you trust where you haven't the time to fix the underlying problem, and should be reverted afterwards)...
<source lang="powershell"> Set-ExecutionPolicy Bypass </source>


=== Installed Version ===
=== Installed Version ===

Navigation menu