Hi,
You did remove these informations. I believe it was good to know where it was failing for diagnosis purposes.
New-Object -TypeName PSObject -Property @{
You did remove these informations. I believe it was good to know where it was failing for diagnosis purposes.
New-Object -TypeName PSObject -Property @{
Computer=$WMI_OS.CSName
CBServicing=$CBSRebootPend
WindowsUpdate=$WUAURebootReq
CCMClientSDK=$SCCM
PendFileRename=$PendFileRename
PendFileRenVal=$RegValuePFRO
RebootPending=$Pending
LastBootUpTime=$LastBootUpTime
ErrorMsg=$PendRebootErrorMsg
} | Select-Object @SelectSplat
Thanks,