never-displayed
View discussion in a popup
You should add the parameter '-ErrorAction stop' on the New-Snapshot cmdlet.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference