go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/networkinterface/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 -c \"Get-NetAdapter | Select-Object -Property Name, ifIndex, InterfaceType, InterfaceDescription, Status, State, MacAddress, LinkSpeed, ReceiveLinkSpeed, TransmitLinkSpeed, Virtual | ConvertTo-Json\""] 16 stdout = """ 17 { 18 "Name": "Ethernet", 19 "ifIndex": 6, 20 "InterfaceType": 6, 21 "InterfaceDescription": "Microsoft Hyper-V Network Adapter", 22 "Status": "Up", 23 "State": 2, 24 "MacAddress": "00-15-5D-F2-3B-1D", 25 "LinkSpeed": "866.5 Mbps", 26 "ReceiveLinkSpeed": 866500000, 27 "TransmitLinkSpeed": 866500000, 28 "Virtual": false 29 } 30 """ 31 32 [commands."powershell -c \"Get-NetIPAddress | Select-Object -Property IPv6Address, IPv4Address, InterfaceAlias | ConvertTo-Json\""] 33 stdout = """ 34 [ 35 { 36 "IPv6Address": "fe80::ed94:1267:afb5:bb76%6", 37 "IPv4Address": null, 38 "InterfaceAlias": "Ethernet" 39 }, 40 { 41 "IPv6Address": "::1", 42 "IPv4Address": null, 43 "InterfaceAlias": "Loopback Pseudo-Interface 1" 44 }, 45 { 46 "IPv6Address": null, 47 "IPv4Address": "192.168.178.112", 48 "InterfaceAlias": "Ethernet" 49 }, 50 { 51 "IPv6Address": null, 52 "IPv4Address": "127.0.0.1", 53 "InterfaceAlias": "Loopback Pseudo-Interface 1" 54 } 55 ] 56 """