2,187
edits
m (→Exceptions and Error Handling: Added basic info) |
m (Minor re-org) |
||
Line 1: | Line 1: | ||
== Useful Sites == | |||
Subject specific useful links are listed in the sections below | |||
* [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://powershell.com/cs/ - Good all-round help | |||
* http://technet.microsoft.com/en-us/library/bb978526.aspx - TechNet! | |||
== Variables == | == Variables == | ||
Line 204: | Line 208: | ||
== Exceptions and Error Handling == | == Exceptions and Error Handling == | ||
* http://huddledmasses.org/trap-exception-in-powershell/ | * http://huddledmasses.org/trap-exception-in-powershell/ - Exception trapping | ||
* http://www.pluralsight.com/community/blogs/keith/archive/2007/01/22/45814.aspx - Error handling | |||
To control how a script behaves as a result of an exception, modify the <code> $ErrorActionPreference </code> variable, if required. | To control how a script behaves as a result of an exception, modify the <code> $ErrorActionPreference </code> variable, if required. |