==========
$notResolved = ((Get-ServiceStatus) -eq $false) 

Update-DiagRootCause -Id "RC_GENWUError" -InstanceId $instanceValue -Detected $notResolved

