enh(windows) Get windows version
This commit is contained in:
parent
ad78c71af7
commit
21e74efbb5
|
@ -110,7 +110,10 @@ Try {
|
|||
$SCCM = $null
|
||||
}
|
||||
|
||||
$WindowsVersion = (Get-WmiObject -class Win32_OperatingSystem).Caption;
|
||||
|
||||
$item = @{
|
||||
WindowsVersion = $WindowsVersion;
|
||||
CBServicing = $CBSRebootPend;
|
||||
WindowsUpdate = $WUAURebootReq;
|
||||
CCMClientSDK = $SCCM;
|
||||
|
|
Loading…
Reference in New Issue