# Copyright © 2011, Microsoft Corporation. All rights reserved. param($prob1) if($prob1 -eq $null){ $prob1 = "None" } if($prob1 -ne "None"){ Update-DiagRootCause -id RC_GENWUError -instanceid $prob1 -detected $true -parameter @{"error"=$prob1} }else{ Update-DiagRootCause -id RC_GENWUError -instanceid $prob1 -detected $false -parameter @{"error"=$prob1} } #*================================================================================= #End #*=================================================================================