

Get AvailableVirtualMemory, TotalPageFileSpace, TotalPhysicalMemory, TotalVirtualMemory

Get Name, BlockSize, Purpose, MaxCacheSize, Status Get Name, Compressed, Description, DriveType, FileSystem, FreeSpace, SupportsDiskQuotas, VolumeDirty, VolumeName Get Name, DriverEnabled, GroupOrder, Status Get Name, Owner, DaysOfMonth, DaysOfWeek, ElapsedTime, JobStatus, StartTime, Status Get Caption, InstallDate, LocalAccount, Domain, SID, Status Where name='c:\windows' get Archive, CreationDate, LastModified, Readable, Writeable, System, Hidden, Status Get User, Warninglimit, DiskSpaceUsed, QuotaVolume Get Name, Manufacturer, Model, InterfaceType, MediaLoaded, MediaType Get Name, ScreenSaverExecutable, ScreenSaverActive, Wallpaper /format:list Where name='c:\boot.ini' get Archive, FileSize, FileType, InstallDate, Readable, Writeable, System, Version Get Name, Caption, MaxClockSpeed, DeviceID, status Get Name, domain, Manufacturer, Model, NumberofProcessors, PrimaryOwnerName,Username, Roles, totalphysicalmemory /format:list Get BootDirectory, Caption, TempDirectory, Lastdrive Get Manufacturer, Model, Name, PartNumber, slotlayout, serialnumber, poweredon To execute these queries, run “WMIC” at a command prompt, followed by one of the following alias/es: With that said, the following is a list of WMIC queries that you can run on your Workstations/Servers. This blog will assume that you already have a grasp of WMI and are looking for more WMI testing options via the Command Line.

All WMI objects and their properties, including their methods, are accessible through the shell, which makes WMIC an advanced systems management console. In its simplest form, WMIC is a utility that allows you to interact with WMI from a WMI-aware command-line shell. Have you ever wanted to test WMI using the command line (outside of VBSCRIPT)? If so, then WMIC is the tool for you. Hello AskPerf Blog Readers! This morning’s post is going to be more of a reference point for all those WMI junkies out there. First published on TECHNET on Feb 17, 2012
