pdxcat / Get-SCCMStatus

PowerShell script that retrieves information about SCCM advertisements seen by a machine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix script for Windows XP.

pfaffle opened this issue · comments

The OSArchitecture property of the Win32_OperatingSystem WMI class doesn't exist in XP. Instead, use the AddressWidth property of the Win32_Processor class to determine if a machine is 32-bit or 64-bit.

Don't really care about this anymore since XP is EOL.