go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/smbios/testdata/windows.toml (about) 1 [commands."wmic os get * /format:csv"] 2 stdout = """Node,BootDevice,BuildNumber,BuildType,Caption,CodeSet,CountryCode,CreationClassName,CSCreationClassName,CSDVersion,CSName,CurrentTimeZone,DataExecutionPrevention_32BitApplications,DataExecutionPrevention_Available,DataExecutionPrevention_Drivers,DataExecutionPrevention_SupportPolicy,Debug,Description,Distributed,EncryptionLevel,ForegroundApplicationBoost,FreePhysicalMemory,FreeSpaceInPagingFiles,FreeVirtualMemory,InstallDate,LargeSystemCache,LastBootUpTime,LocalDateTime,Locale,Manufacturer,MaxNumberOfProcesses,MaxProcessMemorySize,MUILanguages,Name,NumberOfLicensedUsers,NumberOfProcesses,NumberOfUsers,OperatingSystemSKU,Organization,OSArchitecture,OSLanguage,OSProductSuite,OSType,OtherTypeDescription,PAEEnabled,PlusProductID,PlusVersionNumber,PortableOperatingSystem,Primary,ProductType,RegisteredUser,SerialNumber,ServicePackMajorVersion,ServicePackMinorVersion,SizeStoredInPagingFiles,Status,SuiteMask,SystemDevice,SystemDirectory,SystemDrive,TotalSwapSpaceSize,TotalVirtualMemorySize,TotalVisibleMemorySize,Version,WindowsDirectory 3 VAGRANT,\\Device\\HarddiskVolume1,17763,Multiprocessor Free,Microsoft Windows Server 2019 Datacenter Evaluation,1252,1,Win32_OperatingSystem,Win32_ComputerSystem,,VAGRANT,-420,TRUE,TRUE,TRUE,3,FALSE,,FALSE,256,2,721716,979372,1922780,20190906065515.000000-420,,20190908011749.580533-420,20190908042731.608000-420,0409,Microsoft Corporation,4294967295,137438953344,{en-US},Microsoft Windows Server 2019 Datacenter Evaluation|C:\\Windows|\\Device\\Harddisk0\\Partition2,0,69,1,80,Vagrant,64-bit,1033,400,18,,,,,FALSE,TRUE,3,,00431-20000-00000-AA838,0,0,1179648,OK,400,\\Device\\HarddiskVolume2,C:\\Windows\\system32,C:,,3276340,2096692,10.0.17763,C:\\Windows 4 """ 5 6 [commands."powershell -c \"Get-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion' -Name CurrentBuild, UBR, EditionID | ConvertTo-Json\""] 7 stdout=""" 8 { 9 "CurrentBuild": "17763", 10 "EditionID": "ServerDatacenterEval", 11 "UBR": 720 12 } 13 """ 14 15 [commands."powershell.exe -NoProfile -EncodedCommand JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACcAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAnADsACgAkAGIAaQBvAHMAIAA9ACAARwBlAHQALQBXAG0AaQBPAGIAagBlAGMAdAAgAC0AYwBsAGEAcwBzACAAVwBpAG4AMwAyAF8AQgBpAG8AcwAKACQAYgBhAHMAZQBiAG8AYQByAGQAIAA9ACAARwBlAHQALQBXAG0AaQBPAGIAagBlAGMAdAAgAFcAaQBuADMAMgBfAEIAYQBzAGUAQgBvAGEAcgBkAAoAJABjAGgAYQBzAHMAaQBzACAAPQAgAEcAZQB0AC0AVwBtAGkATwBiAGoAZQBjAHQAIABXAGkAbgAzADIAXwBTAHkAcwB0AGUAbQBFAG4AYwBsAG8AcwB1AHIAZQAKACQAcwB5AHMAIAA9ACAARwBlAHQALQBXAG0AaQBPAGIAagBlAGMAdAAgAFcAaQBuADMAMgBfAEMAbwBtAHAAdQB0AGUAcgBTAHkAcwB0AGUAbQAKACQAcwB5AHMAUAByAG8AZAB1AGMAdAAgAD0AIABHAGUAdAAtAFcAbQBpAE8AYgBqAGUAYwB0ACAAVwBpAG4AMwAyAF8AQwBvAG0AcAB1AHQAZQByAFMAeQBzAHQAZQBtAFAAcgBvAGQAdQBjAHQACgAKACQAcwBtAGIAaQBvAHMAIAA9ACAATgBlAHcALQBPAGIAagBlAGMAdAAgAC0AVAB5AHAAZQBOAGEAbQBlACAAUABTAE8AYgBqAGUAYwB0AAoAJABzAG0AYgBpAG8AcwAgAHwAIABBAGQAZA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"Bios": { 19 "BiosCharacteristics": [ 20 4, 21 7, 22 9, 23 11, 24 42, 25 43 26 ], 27 "BIOSVersion": [ 28 "INTEL - 6040000", 29 "VMW71.00V.16722896.B64.2008100651", 30 "VMware, Inc. - 10000" 31 ], 32 "BuildNumber": null, 33 "Caption": "VMW71.00V.16722896.B64.2008100651", 34 "CodeSet": null, 35 "CurrentLanguage": null, 36 "Description": "VMW71.00V.16722896.B64.2008100651", 37 "EmbeddedControllerMajorVersion": 255, 38 "EmbeddedControllerMinorVersion": 255, 39 "IdentificationCode": null, 40 "InstallableLanguages": null, 41 "InstallDate": null, 42 "LanguageEdition": null, 43 "ListOfLanguages": null, 44 "Manufacturer": "VMware, Inc.", 45 "Name": "VMW71.00V.16722896.B64.2008100651", 46 "OtherTargetOS": null, 47 "PrimaryBIOS": true, 48 "ReleaseDate": "20200810000000.000000+000", 49 "SerialNumber": "VMware-56 4d bd 16 98 6b f9 23-49 3c f6 b1 4e 7c fc 0b", 50 "SMBIOSBIOSVersion": "VMW71.00V.16722896.B64.2008100651", 51 "SMBIOSMajorVersion": 2, 52 "SMBIOSMinorVersion": 7, 53 "SMBIOSPresent": true, 54 "SoftwareElementID": "VMW71.00V.16722896.B64.2008100651", 55 "SoftwareElementState": 3, 56 "Status": "OK", 57 "SystemBiosMajorVersion": 255, 58 "SystemBiosMinorVersion": 255, 59 "TargetOperatingSystem": 0, 60 "Version": "INTEL - 6040000" 61 }, 62 "BaseBoard": { 63 "Caption": "Base Board", 64 "ConfigOptions": null, 65 "CreationClassName": "Win32_BaseBoard", 66 "Depth": null, 67 "Description": "Base Board", 68 "Height": null, 69 "HostingBoard": false, 70 "HotSwappable": false, 71 "InstallDate": null, 72 "Manufacturer": "Intel Corporation", 73 "Model": null, 74 "Name": "Base Board", 75 "OtherIdentifyingInfo": null, 76 "PartNumber": null, 77 "PoweredOn": true, 78 "Product": "440BX Desktop Reference Platform", 79 "Removable": false, 80 "Replaceable": false, 81 "RequirementsDescription": null, 82 "RequiresDaughterBoard": false, 83 "SerialNumber": "None", 84 "SKU": null, 85 "SlotLayout": null, 86 "SpecialRequirements": null, 87 "Status": "OK", 88 "Tag": "Base Board", 89 "Version": "None", 90 "Weight": null, 91 "Width": null 92 }, 93 "Chassis": { 94 "AudibleAlarm": null, 95 "BreachDescription": null, 96 "CableManagementStrategy": null, 97 "Caption": "System Enclosure", 98 "ChassisTypes": [ 99 1 100 ], 101 "CreationClassName": "Win32_SystemEnclosure", 102 "CurrentRequiredOrProduced": null, 103 "Depth": null, 104 "Description": "System Enclosure", 105 "HeatGeneration": null, 106 "Height": null, 107 "HotSwappable": null, 108 "InstallDate": null, 109 "LockPresent": false, 110 "Manufacturer": "No Enclosure", 111 "Model": null, 112 "Name": "System Enclosure", 113 "NumberOfPowerCords": null, 114 "OtherIdentifyingInfo": null, 115 "PartNumber": null, 116 "PoweredOn": null, 117 "Removable": null, 118 "Replaceable": null, 119 "SecurityBreach": null, 120 "SecurityStatus": 3, 121 "SerialNumber": "None", 122 "ServiceDescriptions": null, 123 "ServicePhilosophy": null, 124 "SKU": null, 125 "SMBIOSAssetTag": "No Asset Tag", 126 "Status": null, 127 "Tag": "System Enclosure 0", 128 "TypeDescriptions": null, 129 "Version": "N/A", 130 "VisibleAlarm": null, 131 "Weight": null, 132 "Width": null 133 }, 134 "System": { 135 "AdminPasswordStatus": 1, 136 "AutomaticManagedPagefile": true, 137 "AutomaticResetBootOption": true, 138 "AutomaticResetCapability": true, 139 "BootOptionOnLimit": 3, 140 "BootOptionOnWatchDog": 3, 141 "BootROMSupported": true, 142 "BootStatus": [ 143 0, 144 0, 145 0, 146 33, 147 31, 148 26, 149 1, 150 3, 151 2, 152 2 153 ], 154 "BootupState": "Normal boot", 155 "Caption": "WIN-816I2D5DUSD", 156 "ChassisBootupState": 3, 157 "ChassisSKUNumber": null, 158 "CreationClassName": "Win32_ComputerSystem", 159 "CurrentTimeZone": -480, 160 "DaylightInEffect": false, 161 "Description": "AT/AT COMPATIBLE", 162 "DNSHostName": "WIN-816I2D5DUSD", 163 "Domain": "WORKGROUP", 164 "DomainRole": 2, 165 "EnableDaylightSavingsTime": true, 166 "FrontPanelResetStatus": 3, 167 "HypervisorPresent": true, 168 "InfraredSupported": false, 169 "InitialLoadInfo": null, 170 "InstallDate": null, 171 "KeyboardPasswordStatus": 3, 172 "LastLoadInfo": null, 173 "Manufacturer": "VMware, Inc.", 174 "Model": "VMware7,1", 175 "Name": "WIN-816I2D5DUSD", 176 "NameFormat": null, 177 "NetworkServerModeEnabled": true, 178 "NumberOfLogicalProcessors": 2, 179 "NumberOfProcessors": 2, 180 "OEMLogoBitmap": null, 181 "OEMStringArray": [ 182 "[MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]", 183 "Welcome to the Virtual Machine" 184 ], 185 "PartOfDomain": false, 186 "PauseAfterReset": 3932100000, 187 "PCSystemType": 1, 188 "PCSystemTypeEx": 1, 189 "PowerManagementCapabilities": null, 190 "PowerManagementSupported": null, 191 "PowerOnPasswordStatus": 0, 192 "PowerState": 0, 193 "PowerSupplyState": 3, 194 "PrimaryOwnerContact": null, 195 "PrimaryOwnerName": "Windows User", 196 "ResetCapability": 1, 197 "ResetCount": -1, 198 "ResetLimit": -1, 199 "Roles": [ 200 "LM_Workstation", 201 "LM_Server", 202 "NT", 203 "Server_NT" 204 ], 205 "Status": "OK", 206 "SupportContactDescription": null, 207 "SystemFamily": null, 208 "SystemSKUNumber": null, 209 "SystemStartupDelay": null, 210 "SystemStartupOptions": null, 211 "SystemStartupSetting": null, 212 "SystemType": "x64-based PC", 213 "ThermalState": 3, 214 "TotalPhysicalMemory": 2146406400, 215 "UserName": "WIN-816I2D5DUSD\\\\Administrator", 216 "WakeUpType": 6, 217 "Workgroup": "WORKGROUP" 218 }, 219 "SystemProduct": { 220 "Caption": "Computer System Product", 221 "Description": "Computer System Product", 222 "IdentifyingNumber": "VMware-56 4d bd 16 98 6b f9 23-49 3c f6 b1 4e 7c fc 0b", 223 "Name": "VMware7,1", 224 "SKUNumber": null, 225 "UUID": "16BD4D56-6B98-23F9-493C-F6B14E7CFC0B", 226 "Vendor": "VMware, Inc.", 227 "Version": "None" 228 } 229 } 230 """