windows
Description
Windows-specific resource to get operating system details
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
computerInfo | dict | Gets 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.hotfix | Gets the hotfixes that are installed on the computer |
features | []windows.feature | Gets 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";