PAGEFILESET WHERE Name=”C:\\pagefile. PAGEFILE GET AllocatedBaseSize,CurrentUsage,Name,PeakUsage OS GET CSName,CSDVersion,OSType,Version,NumberOfUsers,Caption,CurrentTimeZone NETEVENTLOG GET FileSize,MaxFileSize,LogFileName,OverWritePolicy NTDOMAIN GET Description,DnsForestName,DomainControllerAddress In the Alias name (uses parent domain if left blank) box, type the alias name. Right-click the appropriate zone, and then click New Alias. Expand Servername, and then expand Forward Lookup Zones. Click Start, point to Programs, point to Administrative Tools, and then click DNS. NICCONFIG WHERE MACAddress!=NULL GET Caption,DefaultIPGateway,DHCPServer,DNSHostName,DNSServerSearchOrder Selecting a target host in Windows 2000 Server. NIC GET AdapterType,Caption,MACAddress,NetconnectionStatus,ServiceName,MACAddress NETPROTOCOL GET Name,Status,SupportsBroadcasting NETLOGIN GET PasswordExpires,Name,NumberOfLogons,ScriptPath,LogonServer MEMPHYSICAL GET MaxCapacity,MemoryDevices MEMORYCHIP GET Capacity,DeviceLocator,MemoryType MEMLOGICAL GET TotalPageFileSpace,TotalPhysicalMemory MEMCACHE GET InstalledSize,CacheType,SystemName LOGON GET AuthenticationPackage,LogonID,LogonType,StartTime LOGICALDISK WHERE “DriveType=’3’ OR DriveType=’4’” GET Caption LOADORDER GET Name,GroupOrder /format:csv:”sortby=GroupOrder” IDECONTROLLER GET Manufacturer,Name,Status,SystemName To run one of the queries, cut the entire contents of a cell in the Example Text column, paste at the WMIC command prompt, edit the variables as appropriate, and press the ENTER key.īIOS GET Manufacturer,Name,ReleaseDate,SMBIOSBIOSVersionĬDROM GET Drive,MediaLoaded,Name,Size,SystemName,VolumeNameĬOMPUTERSYSTEM GET Domain,Manufacturer,Model,Name,PrimaryOwnerNameĬPU GET CurrentClockSpeed,DeviceID,ExtClock,MaxClockSpeed,L2CacheSize,CaptionĭATAFILE WHERE “Extension=’ini’ and path=’\\’” GET Name,LastModifiedĭATAFILE WHERE “Path=’\\windows\\system32\\wbem’ AND Extension=’dll’ GET Name,LastModifiedĭESKTOPMONITOR WHERE Availability=’3′ GET ScreenHeight,ScreenWidth,PNPDeviceIDĭEVICEMEMORYADDRESS GET CSName,Name,StartingAddress,EndingAddressĭISKDRIVE GET InterfaceType,Model,Partitions,Size,SystemName,Model,NameĮNVIRONMENT WHERE “Username=’’” GET Name, VariableValue,NameįSDIR WHERE “Path=’\\Windows\\’” GET CSName,Compressed,EightDotThreeFilename,Filename The following table contains example text of common queries using WMIC Aliases. Using the WMIC alias makes it easier to return computer information, all from a command line. WMIC is the command line interface to WMI. I’ve not seen it elsewhere, and since I’ve found it so useful, I’m going to repost it here. This is straight from the Microsoft Technet July 2005 CD set.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |