Throw-Exception.ps1

by Jan 22, 2009

< #   .SYNOPSIS     Shows throwing an exception in a function , caught in caller.    .DESCRIPTION      This is a re-written MSDN Sample  .NOTES      File Name  : throw-exception.ps1      Author     : Thomas Lee – tfl @psp .co.uk      Requires   : PowerShell V2 CTP3  .LINK      Original script at:      http://pshscripts.blogspot.com/2009/01/throw-exceptionps1.html     MSDN Sample at:      http://msdn… Read the full text.