Difference between revisions of "Getting Started (PowerShell)"

Jump to navigation Jump to search
→‎Installation: Added V3 link
(→‎Execution Policy: Added expected error messages)
(→‎Installation: Added V3 link)
Line 3: Line 3:
* [http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx Windows PowerShell V1]
* [http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx Windows PowerShell V1]
* [http://support.microsoft.com/kb/968929 Windows PowerShell V2]
* [http://support.microsoft.com/kb/968929 Windows PowerShell V2]
* [http://www.microsoft.com/en-gb/download/details.aspx?id=34595 PowerShell V3]
* http://powershell.com/cs/ - Good all-round help
* http://powershell.com/cs/ - Good all-round help
* http://technet.microsoft.com/en-us/library/bb978526.aspx - TechNet!
* http://technet.microsoft.com/en-us/library/bb978526.aspx - TechNet!


Whilst '''Win2008''' ships with Powershell it isn't necessarily available, to install...
Whilst '''Win2008''' ships with Powershell V2, it isn't necessarily available, to install...
# Go to '''Server Manager'''
# Go to '''Server Manager'''
# Go into '''Features''', then '''Add Features'''
# Go into '''Features''', then '''Add Features'''
Line 12: Line 13:
''Normally a restart isn't required''
''Normally a restart isn't required''


If you're running scripts from a machine that does not have (or has dodgy) internet access, you need to disable certificate checking
If you're running scripts from a machine that does not have (or has dodgy) internet access, then running PowerShell scripts can mean a very long wait before they start to run.  In which case you need to disable certificate checking (its the checking for certificate revocation that needs to time-out before a script will run)...
# In '''Internet Explorer'''
# In '''Internet Explorer'''
# Go to '''Internet Options''', and then '''Advanced'''
# Go to '''Internet Options''', and then '''Advanced'''

Navigation menu