Windows-specific resource to get operating system details
windows MQL resource for querying Operating System infrastructure with cnquery and cnspec.
Operating System
Windows-specific resource to get operating system details
Use MQL in cnspec shell or policy:
windowsMin version: 5.15.0
Relationships
8 resources · 11 relationships·Click to select, expand fields to see properties.
Fields (12)
| Field | Type | Description |
|---|---|---|
bitlocker | windows.bitlocker | Windows BitLocker |
computerInfo | dict | A consolidated object of system and operating system properties |
featureprivate | windows.feature | Deprecated. Use `windows.serverFeature` instead |
features | []windows.feature | Deprecated. Use `windows.serverFeatures` instead |
firewall | windows.firewall | Windows Firewall resource |
hotfix | windows.hotfix | Windows hotfix resource |
hotfixes | []windows.hotfix | Hotfixes installed on the computer |
optionalFeatureprivate | windows.optionalFeature | Windows optional feature resource (desktop-only) |
optionalFeatures | []windows.optionalFeature | Information about optional features in a Windows image. |
security | windows.security | - |
serverFeatureprivate | windows.serverFeature | Windows Server feature resource |
serverFeatures | []windows.serverFeature | Information about Windows Server roles, role services, and features that are available for installation and installed on a specified server. |
Field Details
computerInfodict
see https://docs.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.computerinfo?view=powershellsdk-1.1.0 for more information
featurewindows.feature
Windows feature resource