Monthly Archives: April 2013

Accessing Windows Security Centre Status from PowerShell

Sometimes you might want to script checking health of anti-virus/firewall/&c. However since Windows Vista the method frequently used in scripts is accessing the wmi namespace root/securitycenter2 which is undocumented from publicly available Microsoft. Although the values of what productState mean … Continue reading

Posted in .NET, PowerShell, Scripting | Tagged | 2 Comments