WMI examples

1. To get disk info: wmic.exe diskdrive get model,name,size or for remote host: wmic.exe /node:computername diskdrive get model,name,size wmic.exe logicaldisk where drivetype=3 get name, freespace, systemname, filesystem, size, volumeserialnumber wmic.exe /node:hostname logicaldisk where drivetype=3 get name, freespace, systemname, filesystem, size,… Continue Reading