python computer info look
计算机信息查看
-. import platform
import platform def TestPlatform(): print("---------SYSTEM INFO--------") #获取Python版本 3.7.1 print(platform.python_version()) #获取Python版本 v3.7.1 print(platform.python_branch()) #获取操作系统可执行程序的结构 (’32bit’, ‘WindowsPE’) print(platform.architecture()) # 计算机的名称 DESKTOP-90JE76G print(platform.node()) # 获取操作系统名称及版本号,Windows-7-6.1.7601-SP1 print(platform.platform()) # 计算机处理器信息, Intel64 Family 6 Model 158 Stepping 10, GenuineIntel print(platform.processor()) # 获取操作系统中Python的构建日期 ('v3.7.1:260ec2c36a', 'Oct 20 2018 14:57:15') print(platform.python_build()) # 获取系统中python解释器的信息 MSC v.1915 64 bit (AMD64) print(platform.python_compiler()) print(platform.release()) # 10 print(platform.system()) # windows # 获取操作系统的版本 10.0.17763 print(platform.version()) # 包含上面所有的信息汇总 print("\n\n\n") for key in platform.uname(): print(key) ''' Windows DESKTOP-90JE76G 10 10.0.17763 AMD64 Intel64 Family 6 Model 158 Stepping 10, GenuineIntel '''
二. import wmi
import wmi c = wmi.WMI() #处理器 def printCPU(): tmpdict = {} tmpdict["CpuCores"] = 0 for cpu in c.Win32_Processor(): tmpdict["cpuid"] = cpu.ProcessorId.strip() tmpdict["CpuType"] = cpu.Name tmpdict['systemName'] = cpu.SystemName try: tmpdict["CpuCores"] = cpu.NumberOfCores except: tmpdict["CpuCores"] += 1 tmpdict["CpuClock"] = cpu.MaxClockSpeed tmpdict['DataWidth'] = cpu.DataWidth print(tmpdict)return tmpdict #主板 def printMain_board(): boards = [] # print len(c.Win32_BaseBoard()): for board_id in c.Win32_BaseBoard(): tmpmsg = {} tmpmsg['UUID'] = board_id.qualifiers['UUID'][1:-1] #主板UUID,有的主板这部分信息取到为空值,ffffff-ffffff这样的 tmpmsg['SerialNumber'] = board_id.SerialNumber #主板序列号 tmpmsg['Manufacturer'] = board_id.Manufacturer #主板生产品牌厂家 tmpmsg['Product'] = board_id.Product #主板型号 boards.append(tmpmsg) print(boards) return boards #BIOS def printBIOS(): bioss = [] for bios_id in c.Win32_BIOS(): tmpmsg = {} tmpmsg['BiosCharacteristics'] = bios_id.BiosCharacteristics #BIOS特征码 tmpmsg['version'] = bios_id.Version #BIOS版本 tmpmsg['Manufacturer'] = bios_id.Manufacturer.strip() #BIOS固件生产厂家 tmpmsg['ReleaseDate'] = bios_id.ReleaseDate #BIOS释放日期 tmpmsg['SMBIOSBIOSVersion'] = bios_id.SMBIOSBIOSVersion #系统管理规范版本 bioss.append(tmpmsg) print(bioss) return bioss #硬盘 def printDisk(): disks = [] for disk in c.Win32_DiskDrive(): # print disk.__dict__ tmpmsg = {} tmpmsg['SerialNumber'] = disk.SerialNumber.strip() tmpmsg['DeviceID'] = disk.DeviceID tmpmsg['Caption'] = disk.Caption tmpmsg['Size'] = disk.Size tmpmsg['UUID'] = disk.qualifiers['UUID'][1:-1] disks.append(tmpmsg) for d in disks: print(d) return disks #内存 def printPhysicalMemory(): memorys = [] for mem in c.Win32_PhysicalMemory(): tmpmsg = {} tmpmsg['UUID'] = mem.qualifiers['UUID'][1:-1] tmpmsg['BankLabel'] = mem.BankLabel tmpmsg['SerialNumber'] = mem.SerialNumber.strip() tmpmsg['ConfiguredClockSpeed'] = mem.ConfiguredClockSpeed tmpmsg['Capacity'] = mem.Capacity tmpmsg['ConfiguredVoltage'] = mem.ConfiguredVoltage memorys.append(tmpmsg) for m in memorys: print(m) return memorys #电池信息,只有笔记本才会有电池选项 def printBattery(): isBatterys = False for b in c.Win32_Battery(): isBatterys = True return isBatterys #网卡mac地址: def printMacAddress(): macs = [] for n in c.Win32_NetworkAdapter(): mactmp = n.MACAddress if mactmp and len(mactmp.strip()) > 5: tmpmsg = {} tmpmsg['MACAddress'] = n.MACAddress tmpmsg['Name'] = n.Name tmpmsg['DeviceID'] = n.DeviceID tmpmsg['AdapterType'] = n.AdapterType tmpmsg['Speed'] = n.Speed macs.append(tmpmsg) print(macs) return macs def main(): printCPU() printMain_board() printBIOS() printDisk() printPhysicalMemory() printMacAddress() print(printBattery()) if __name__ == "__main__": main()
''' {'CpuCores': 6, 'cpuid': 'BFEBFBFF000906EA', 'CpuType': 'Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz', 'systemName': 'DESKTOP-90JE76G', 'CpuClock': 2208, 'DataWidth': 64} [{'UUID': 'FAF76B95-798C-11D2-AAD1-006008C78BC7', 'SerialNumber': 'PF16GEJR', 'Manufacturer': 'LENOVO', 'Product': 'LNVNB161216'}] [{'BiosCharacteristics': (7, 11, 12, 15, 16, 19, 20, 21, 22, 23, 24, 25, 27, 30, 32, 33, 40, 42, 43), 'version': 'LENOVO - 1', 'Manufacturer': 'LENOVO', 'ReleaseDate': '20180830000000.000000+000', 'SMBIOSBIOSVersion': '8JCN46WW'}] {'SerialNumber': 'WL18H5PN', 'DeviceID': '\\\\.\\PHYSICALDRIVE0', 'Caption': 'ST1000LM035-1RK172', 'Size': '1000202273280', 'UUID': '8502C4B2-5FBB-11D2-AAC1-006008C78BC7'} {'SerialNumber': 'NJ87N649513207P1I _00000001.', 'DeviceID': '\\\\.\\PHYSICALDRIVE1', 'Caption': 'NVMe HFM128GDHTNG-831', 'Size': '128034708480', 'UUID': '8502C4B2-5FBB-11D2-AAC1-006008C78BC7'} {'UUID': 'FAF76B93-798C-11D2-AAD1-006008C78BC7', 'BankLabel': 'BANK 0', 'SerialNumber': '117D8C14', 'ConfiguredClockSpeed': 2667, 'Capacity': '8589934592', 'ConfiguredVoltage': 1200} [{'MACAddress': '8C:16:45:DC:6F:B3', 'Name': 'Realtek PCIe GBE Family Controller', 'DeviceID': '1', 'AdapterType': '以太网 802.3', 'Speed': '9223372036854775807'}, {'MACAddress': 'DC:A2:66:40:D8:DD', 'Name': 'Realtek 8822BE Wireless LAN 802.11ac PCI-E NIC', 'DeviceID': '2', 'AdapterType': '以太网 802.3', 'Speed': '460350000'}, {'MACAddress': 'DC:A2:66:40:D8:DE', 'Name': 'Bluetooth Device (Personal Area Network)', 'DeviceID': '3', 'AdapterType': '以太网 802.3', 'Speed': '3000000'}, {'MACAddress': 'DE:A2:66:40:D8:DD', 'Name': 'Microsoft Wi-Fi Direct Virtual Adapter', 'DeviceID': '4', 'AdapterType': '以太网 802.3', 'Speed': '9223372036854775807'}, {'MACAddress': '6A:FE:20:52:41:53', 'Name': 'WAN Miniport (IP)', 'DeviceID': '10', 'AdapterType': '以太网 802.3', 'Speed': None}, {'MACAddress': '70:46:20:52:41:53', 'Name': 'WAN Miniport (IPv6)', 'DeviceID': '11', 'AdapterType': '以太网 802.3', 'Speed': None}, {'MACAddress': '74:76:20:52:41:53', 'Name': 'WAN Miniport (Network Monitor)', 'DeviceID': '12', 'AdapterType': '以太网 802.3', 'Speed': None}, {'MACAddress': 'DC:A2:66:40:D8:DD', 'Name': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'DeviceID': '13', 'AdapterType': '以太网 802.3', 'Speed': '9223372036854775807'}, {'MACAddress': '00:50:56:C0:00:01', 'Name': 'VMware Virtual Ethernet Adapter for VMnet1', 'DeviceID': '14', 'AdapterType': '以太网 802.3', 'Speed': '100000000'}, {'MACAddress': '00:50:56:C0:00:08', 'Name': 'VMware Virtual Ethernet Adapter for VMnet8', 'DeviceID': '15', 'AdapterType': '以太网 802.3', 'Speed': '100000000'}] True '''
.
import wmi c=wmi.WMI() i=0 key= c.Win32_Processor() for k in key: print(k,"\t",i) i=i+1 print(k.name) ''' instance of Win32_Processor { AddressWidth = 64; Architecture = 9; AssetTag = "To Be Filled By O.E.M."; Availability = 3; Caption = "Intel64 Family 6 Model 158 Stepping 10"; Characteristics = 252; CpuStatus = 1; CreationClassName = "Win32_Processor"; CurrentClockSpeed = 2208; CurrentVoltage = 8; DataWidth = 64; Description = "Intel64 Family 6 Model 158 Stepping 10"; DeviceID = "CPU0"; ExtClock = 100; Family = 198; L2CacheSize = 1536; L3CacheSize = 9216; L3CacheSpeed = 0; Level = 6; LoadPercentage = 16; Manufacturer = "GenuineIntel"; MaxClockSpeed = 2208; Name = "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz"; NumberOfCores = 6; NumberOfEnabledCore = 6; NumberOfLogicalProcessors = 12; PartNumber = "To Be Filled By O.E.M."; PowerManagementSupported = FALSE; ProcessorId = "BFEBFBFF000906EA"; ProcessorType = 3; Role = "CPU"; SecondLevelAddressTranslationExtensions = TRUE; SerialNumber = "To Be Filled By O.E.M."; SocketDesignation = "U3E1"; Status = "OK"; StatusInfo = 3; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; ThreadCount = 12; UpgradeMethod = 52; Version = ""; VirtualizationFirmwareEnabled = TRUE; VMMonitorModeExtensions = TRUE; }; 0 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz '''
import wmi c=wmi.WMI() i=0 key= c.Win32_BaseBoard() for k in key: print(k,"\t",i) i=i+1 print(k.Manufacturer) ''' instance of Win32_BaseBoard { Caption = "基板"; ConfigOptions = {"ConfigOptions1", "ConfigOptions2", "ConfigOptions3"}; CreationClassName = "Win32_BaseBoard"; Description = "基板"; HostingBoard = TRUE; HotSwappable = FALSE; Manufacturer = "LENOVO"; Name = "基板"; PoweredOn = TRUE; Product = "LNVNB161216"; Removable = FALSE; Replaceable = TRUE; RequiresDaughterBoard = FALSE; SerialNumber = "PF16GEJR"; Status = "OK"; Tag = "Base Board"; Version = "SDK0L77769 WIN"; }; 0 LENOVO '''
#coding=utf-8 import wmi c=wmi.WMI() i=0 key= c.Win32_BIOS() for k in key: print(k,"\t",i) i=i+1 print(k.Manufacturer) ''' instance of Win32_BIOS { BiosCharacteristics = {7, 11, 12, 15, 16, 19, 20, 21, 22, 23, 24, 25, 27, 30, 32, 33, 40, 42, 43}; BIOSVersion = {"LENOVO - 1", "8JCN46WW", "INSYDE Corp. - 58032046"}; Caption = "8JCN46WW"; CurrentLanguage = "en|US|iso8859-1,0"; Description = "8JCN46WW"; EmbeddedControllerMajorVersion = 1; EmbeddedControllerMinorVersion = 46; InstallableLanguages = 8; ListOfLanguages = {"en|US|iso8859-1,0", "fr|FR|iso8859-1,0", "zh|TW|unicode,0", "ja|JP|unicode,0", "it|IT|iso8859-1,0", "es|ES|iso8859-1,0", "de|DE|iso8859-1,0", "pt|PT|iso8859-1,0"}; Manufacturer = "LENOVO"; Name = "8JCN46WW"; PrimaryBIOS = TRUE; ReleaseDate = "20180830000000.000000+000"; SerialNumber = "PF16GEJR"; SMBIOSBIOSVersion = "8JCN46WW"; SMBIOSMajorVersion = 3; SMBIOSMinorVersion = 0; SMBIOSPresent = TRUE; SoftwareElementID = "8JCN46WW"; SoftwareElementState = 3; Status = "OK"; SystemBiosMajorVersion = 1; SystemBiosMinorVersion = 46; TargetOperatingSystem = 0; Version = "LENOVO - 1"; }; 0 LENOVO '''
#coding=utf-8 import wmi c=wmi.WMI() i=0 key= c.Win32_DiskDrive() for k in key: print(k,"\t",i) i=i+1 print(k.SerialNumber) ''' instance of Win32_DiskDrive { BytesPerSector = 512; Capabilities = {3, 4}; CapabilityDescriptions = {"Random Access", "Supports Writing"}; Caption = "ST1000LM035-1RK172"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_DiskDrive"; Description = "磁盘驱动器"; DeviceID = "\\\\.\\PHYSICALDRIVE0"; FirmwareRevision = "LCM2"; Index = 0; InterfaceType = "SCSI"; Manufacturer = "(标准磁盘驱动器)"; MediaLoaded = TRUE; MediaType = "Fixed hard disk media"; Model = "ST1000LM035-1RK172"; Name = "\\\\.\\PHYSICALDRIVE0"; Partitions = 7; PNPDeviceID = "SCSI\\DISK&VEN_ST1000LM&PROD_035-1RK172\\4&377E5BE4&0&000400"; SCSIBus = 0; SCSILogicalUnit = 0; SCSIPort = 0; SCSITargetId = 4; SectorsPerTrack = 63; SerialNumber = " WL18H5PN"; Size = "1000202273280"; Status = "OK"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TotalCylinders = "121601"; TotalHeads = 255; TotalSectors = "1953520065"; TotalTracks = "31008255"; TracksPerCylinder = 255; }; 0 WL18H5PN instance of Win32_DiskDrive { BytesPerSector = 512; Capabilities = {3, 4}; CapabilityDescriptions = {"Random Access", "Supports Writing"}; Caption = "NVMe HFM128GDHTNG-831"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_DiskDrive"; Description = "磁盘驱动器"; DeviceID = "\\\\.\\PHYSICALDRIVE1"; FirmwareRevision = "0C00"; Index = 1; InterfaceType = "SCSI"; Manufacturer = "(标准磁盘驱动器)"; MediaLoaded = TRUE; MediaType = "Fixed hard disk media"; Model = "NVMe HFM128GDHTNG-831"; Name = "\\\\.\\PHYSICALDRIVE1"; Partitions = 1; PNPDeviceID = "SCSI\\DISK&VEN_NVME&PROD_HFM128GDHTNG-831\\4&377E5BE4&0&010000"; SCSIBus = 1; SCSILogicalUnit = 0; SCSIPort = 0; SCSITargetId = 0; SectorsPerTrack = 63; SerialNumber = "NJ87N649513207P1I _00000001."; Size = "128034708480"; Status = "OK"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TotalCylinders = "15566"; TotalHeads = 255; TotalSectors = "250067790"; TotalTracks = "3969330"; TracksPerCylinder = 255; }; 1 NJ87N649513207P1I _00000001. '''
#coding=utf-8 import wmi c=wmi.WMI() i=0 key= c.Win32_PhysicalMemory() for k in key: print(k,"\t",i) i=i+1 print(k.SerialNumber) ''' instance of Win32_PhysicalMemory { Attributes = 1; BankLabel = "BANK 0"; Capacity = "8589934592"; Caption = "物理内存"; ConfiguredClockSpeed = 2667; ConfiguredVoltage = 1200; CreationClassName = "Win32_PhysicalMemory"; DataWidth = 64; Description = "物理内存"; DeviceLocator = "ChannelA-DIMM0"; FormFactor = 12; InterleaveDataDepth = 1; InterleavePosition = 1; Manufacturer = "Ramaxel"; MaxVoltage = 1250; MemoryType = 0; MinVoltage = 1250; Name = "物理内存"; PartNumber = "RMSA3260ME78HAF-2666"; SerialNumber = "117D8C14"; SMBIOSMemoryType = 26; Speed = 2667; Tag = "Physical Memory 0"; TotalWidth = 64; TypeDetail = 128; }; 0 117D8C14 '''
#coding=utf-8 import wmi c=wmi.WMI() i=0 key= c.Win32_Battery() for k in key: print(k,"\t",i) i=i+1 print(k.EstimatedChargeRemaining) # 电量 ''' instance of Win32_Battery { Availability = 2; BatteryStatus = 2; Caption = "内部电池"; Chemistry = 2; CreationClassName = "Win32_Battery"; Description = "内部电池"; DesignVoltage = "12739"; DeviceID = " 1302CPT-COSL17C3PG1"; EstimatedChargeRemaining = 100; EstimatedRunTime = 71582788; Name = "L17C3PG1"; PowerManagementCapabilities = {1}; PowerManagementSupported = FALSE; Status = "OK"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; }; 0 100 '''
#coding=utf-8 import wmi c=wmi.WMI() i=0 key= c.Win32_NetworkAdapter() for k in key: print(k,"\t",i) i=i+1 print(k.AdapterType) # 电量 ''' instance of Win32_NetworkAdapter { Availability = 3; Caption = "[00000000] Microsoft Kernel Debug Network Adapter"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "Microsoft Kernel Debug Network Adapter"; DeviceID = "0"; Index = 0; Installed = TRUE; InterfaceIndex = 5; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "Microsoft Kernel Debug Network Adapter"; PhysicalAdapter = FALSE; PNPDeviceID = "ROOT\\KDNIC\\0000"; PowerManagementSupported = FALSE; ProductName = "Microsoft Kernel Debug Network Adapter"; ServiceName = "kdnic"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 0 None instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000001] Realtek PCIe GBE Family Controller"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "Realtek PCIe GBE Family Controller"; DeviceID = "1"; GUID = "{9B246998-5B30-431E-8353-A9F6857F5F14}"; Index = 1; Installed = TRUE; InterfaceIndex = 13; MACAddress = "8C:16:45:DC:6F:B3"; Manufacturer = "Realtek"; MaxNumberControlled = 0; Name = "Realtek PCIe GBE Family Controller"; NetConnectionID = "以太网"; NetConnectionStatus = 7; NetEnabled = FALSE; PhysicalAdapter = TRUE; PNPDeviceID = "PCI\\VEN_10EC&DEV_8168&SUBSYS_38B417AA&REV_15\\01000000684CE00000"; PowerManagementSupported = FALSE; ProductName = "Realtek PCIe GBE Family Controller"; ServiceName = "rt640x64"; Speed = "9223372036854775807"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 1 以太网 802.3 instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000002] Realtek 8822BE Wireless LAN 802.11ac PCI-E NIC"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "Realtek 8822BE Wireless LAN 802.11ac PCI-E NIC"; DeviceID = "2"; GUID = "{FBE1BDDF-9EE9-44AD-B0AD-6876A9253472}"; Index = 2; Installed = TRUE; InterfaceIndex = 20; MACAddress = "DC:A2:66:40:D8:DD"; Manufacturer = "Realtek Semiconductor Corp."; MaxNumberControlled = 0; Name = "Realtek 8822BE Wireless LAN 802.11ac PCI-E NIC"; NetConnectionID = "WLAN"; NetConnectionStatus = 2; NetEnabled = TRUE; PhysicalAdapter = TRUE; PNPDeviceID = "PCI\\VEN_10EC&DEV_B822&SUBSYS_B02317AA&REV_00\\00E04CFFFEB8220100"; PowerManagementSupported = FALSE; ProductName = "Realtek 8822BE Wireless LAN 802.11ac PCI-E NIC"; ServiceName = "RTWlanE"; Speed = "92000000"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 2 以太网 802.3 instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000003] Bluetooth Device (Personal Area Network)"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "Bluetooth Device (Personal Area Network)"; DeviceID = "3"; GUID = "{72A3FA24-5921-45D1-ABB7-BE1819A87195}"; Index = 3; Installed = TRUE; InterfaceIndex = 10; MACAddress = "DC:A2:66:40:D8:DE"; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "Bluetooth Device (Personal Area Network)"; NetConnectionID = "蓝牙网络连接"; NetConnectionStatus = 7; NetEnabled = FALSE; PhysicalAdapter = TRUE; PNPDeviceID = "BTH\\MS_BTHPAN\\6&95708F1&0&2"; PowerManagementSupported = FALSE; ProductName = "Bluetooth Device (Personal Area Network)"; ServiceName = "BthPan"; Speed = "3000000"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 3 以太网 802.3 instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000004] Microsoft Wi-Fi Direct Virtual Adapter"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "Microsoft Wi-Fi Direct Virtual Adapter"; DeviceID = "4"; Index = 4; Installed = TRUE; InterfaceIndex = 7; MACAddress = "DE:A2:66:40:D8:DD"; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "Microsoft Wi-Fi Direct Virtual Adapter"; PhysicalAdapter = FALSE; PNPDeviceID = "{5D624F94-8850-40C3-A3FA-A4FD2080BAF3}\\VWIFIMP_WFD\\5&3B866BE7&0&11"; PowerManagementSupported = FALSE; ProductName = "Microsoft Wi-Fi Direct Virtual Adapter"; ServiceName = "vwifimp"; Speed = "9223372036854775807"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 4 以太网 802.3 instance of Win32_NetworkAdapter { Availability = 3; Caption = "[00000005] WAN Miniport (SSTP)"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "WAN Miniport (SSTP)"; DeviceID = "5"; Index = 5; Installed = TRUE; InterfaceIndex = 15; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "WAN Miniport (SSTP)"; PhysicalAdapter = FALSE; PNPDeviceID = "SWD\\MSRRAS\\MS_SSTPMINIPORT"; PowerManagementSupported = FALSE; ProductName = "WAN Miniport (SSTP)"; ServiceName = "RasSstp"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 5 None instance of Win32_NetworkAdapter { Availability = 3; Caption = "[00000006] WAN Miniport (IKEv2)"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "WAN Miniport (IKEv2)"; DeviceID = "6"; Index = 6; Installed = TRUE; InterfaceIndex = 9; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "WAN Miniport (IKEv2)"; PhysicalAdapter = FALSE; PNPDeviceID = "SWD\\MSRRAS\\MS_AGILEVPNMINIPORT"; PowerManagementSupported = FALSE; ProductName = "WAN Miniport (IKEv2)"; ServiceName = "RasAgileVpn"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 6 None instance of Win32_NetworkAdapter { Availability = 3; Caption = "[00000007] WAN Miniport (L2TP)"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "WAN Miniport (L2TP)"; DeviceID = "7"; Index = 7; Installed = TRUE; InterfaceIndex = 6; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "WAN Miniport (L2TP)"; PhysicalAdapter = FALSE; PNPDeviceID = "SWD\\MSRRAS\\MS_L2TPMINIPORT"; PowerManagementSupported = FALSE; ProductName = "WAN Miniport (L2TP)"; ServiceName = "Rasl2tp"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 7 None instance of Win32_NetworkAdapter { Availability = 3; Caption = "[00000008] WAN Miniport (PPTP)"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "WAN Miniport (PPTP)"; DeviceID = "8"; Index = 8; Installed = TRUE; InterfaceIndex = 17; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "WAN Miniport (PPTP)"; PhysicalAdapter = FALSE; PNPDeviceID = "SWD\\MSRRAS\\MS_PPTPMINIPORT"; PowerManagementSupported = FALSE; ProductName = "WAN Miniport (PPTP)"; ServiceName = "PptpMiniport"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 8 None instance of Win32_NetworkAdapter { Availability = 3; Caption = "[00000009] WAN Miniport (PPPOE)"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "WAN Miniport (PPPOE)"; DeviceID = "9"; Index = 9; Installed = TRUE; InterfaceIndex = 19; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "WAN Miniport (PPPOE)"; PhysicalAdapter = FALSE; PNPDeviceID = "SWD\\MSRRAS\\MS_PPPOEMINIPORT"; PowerManagementSupported = FALSE; ProductName = "WAN Miniport (PPPOE)"; ServiceName = "RasPppoe"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 9 None instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000010] WAN Miniport (IP)"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "WAN Miniport (IP)"; DeviceID = "10"; Index = 10; Installed = TRUE; InterfaceIndex = 4; MACAddress = "D0:59:20:52:41:53"; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "WAN Miniport (IP)"; PhysicalAdapter = FALSE; PNPDeviceID = "SWD\\MSRRAS\\MS_NDISWANIP"; PowerManagementSupported = FALSE; ProductName = "WAN Miniport (IP)"; ServiceName = "NdisWan"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 10 以太网 802.3 instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000011] WAN Miniport (IPv6)"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "WAN Miniport (IPv6)"; DeviceID = "11"; Index = 11; Installed = TRUE; InterfaceIndex = 16; MACAddress = "D0:69:20:52:41:53"; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "WAN Miniport (IPv6)"; PhysicalAdapter = FALSE; PNPDeviceID = "SWD\\MSRRAS\\MS_NDISWANIPV6"; PowerManagementSupported = FALSE; ProductName = "WAN Miniport (IPv6)"; ServiceName = "NdisWan"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 11 以太网 802.3 instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000012] WAN Miniport (Network Monitor)"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "WAN Miniport (Network Monitor)"; DeviceID = "12"; Index = 12; Installed = TRUE; InterfaceIndex = 18; MACAddress = "D2:85:20:52:41:53"; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "WAN Miniport (Network Monitor)"; PhysicalAdapter = FALSE; PNPDeviceID = "SWD\\MSRRAS\\MS_NDISWANBH"; PowerManagementSupported = FALSE; ProductName = "WAN Miniport (Network Monitor)"; ServiceName = "NdisWan"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 12 以太网 802.3 instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000013] Microsoft Wi-Fi Direct Virtual Adapter"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "Microsoft Wi-Fi Direct Virtual Adapter"; DeviceID = "13"; Index = 13; Installed = TRUE; InterfaceIndex = 2; MACAddress = "DC:A2:66:40:D8:DD"; Manufacturer = "Microsoft"; MaxNumberControlled = 0; Name = "Microsoft Wi-Fi Direct Virtual Adapter #2"; PhysicalAdapter = FALSE; PNPDeviceID = "{5D624F94-8850-40C3-A3FA-A4FD2080BAF3}\\VWIFIMP_WFD\\5&3B866BE7&0&12"; PowerManagementSupported = FALSE; ProductName = "Microsoft Wi-Fi Direct Virtual Adapter"; ServiceName = "vwifimp"; Speed = "9223372036854775807"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 13 以太网 802.3 instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000014] VMware Virtual Ethernet Adapter for VMnet1"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "VMware Virtual Ethernet Adapter for VMnet1"; DeviceID = "14"; GUID = "{72FCEB98-291F-4620-9AF9-94EC298C1C5D}"; Index = 14; Installed = TRUE; InterfaceIndex = 11; MACAddress = "00:50:56:C0:00:01"; Manufacturer = "VMware, Inc."; MaxNumberControlled = 0; Name = "VMware Virtual Ethernet Adapter for VMnet1"; NetConnectionID = "VMware Network Adapter VMnet1"; NetConnectionStatus = 2; NetEnabled = TRUE; PhysicalAdapter = TRUE; PNPDeviceID = "ROOT\\VMWARE\\0000"; PowerManagementSupported = FALSE; ProductName = "VMware Virtual Ethernet Adapter for VMnet1"; ServiceName = "VMnetAdapter"; Speed = "100000000"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 14 以太网 802.3 instance of Win32_NetworkAdapter { AdapterType = "以太网 802.3"; AdapterTypeId = 0; Availability = 3; Caption = "[00000015] VMware Virtual Ethernet Adapter for VMnet8"; ConfigManagerErrorCode = 0; ConfigManagerUserConfig = FALSE; CreationClassName = "Win32_NetworkAdapter"; Description = "VMware Virtual Ethernet Adapter for VMnet8"; DeviceID = "15"; GUID = "{A82FC774-4A22-44C9-BCC2-80876AFE73EB}"; Index = 15; Installed = TRUE; InterfaceIndex = 14; MACAddress = "00:50:56:C0:00:08"; Manufacturer = "VMware, Inc."; MaxNumberControlled = 0; Name = "VMware Virtual Ethernet Adapter for VMnet8"; NetConnectionID = "VMware Network Adapter VMnet8"; NetConnectionStatus = 2; NetEnabled = TRUE; PhysicalAdapter = TRUE; PNPDeviceID = "ROOT\\VMWARE\\0001"; PowerManagementSupported = FALSE; ProductName = "VMware Virtual Ethernet Adapter for VMnet8"; ServiceName = "VMnetAdapter"; Speed = "100000000"; SystemCreationClassName = "Win32_ComputerSystem"; SystemName = "DESKTOP-90JE76G"; TimeOfLastReset = "20191019133224.500000+480"; }; 15 以太网 802.3 '''
.
很久没有写博客了,感觉只要是不写博客,人就很变得很懒,学的知识点感觉还是记不住,渐渐地让我明白,看的越多,懂的越少(你这话不是有毛病吗?应该是看的越多,懂的越多才对),此话怎讲,当你在茫茫的前端知识库里面东看看,西看看的时候,很快就被海量的知识给淹没了,根本就不知道哪些是对的,哪些是错的,感觉好像这个也懂了,那个也懂了,但是真正写起来,脑子又一片空白,又好像什么都不懂,这种状态时有发生,这就叫不懂装懂,最根本的原因就是看的太多,写的太少,所以为了改掉这样毛病,把被动学习变成主动学习,接下来的日子,多写写,即使是写一些学习工作中遇到的坑也是好的,没事翻出来看看,还可以加深印象,好了,废话到处!