Skip to main content

windows

Description

Windows-specific resource to get operating system details

Fields

IDTYPEDESCRIPTION
computerInfodictGets a consolidated object of system and operating system properties, , see https://docs.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.computerinfo?view=powershellsdk-1.1.0 for more information
hotfixes[]windows.hotfixGets the hotfixes that are installed on the computer
features[]windows.featureGets information about Windows Server roles, role services, and features that are available for installation and installed on a specified server.

Examples

Check the OS Edition

windows.computerInfo["WindowsInstallationType"] == "Server Core";