FileSpecification - WMI sample in Powershell
The foundations for Manageability in Windows 2019/2012/2008/ and Windows 10/8/7/Vista/XP are Windows Management Instrumentation (WMI; formerly WBEM) and WMI extensions for Windows Driver Model (WDM).
ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts has collected more than a hundred WMI samples. You can use these samples as a base for new check routines you can write yourself.
On this site, you can find many WMI samples.
The FileSpecification WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
FileSpecification
Example(s)
$strComputer = "." $objWMi = get-wmiobject -computername localhost -Query "Select * from CIM_FileSpecification" foreach ($obj in $objWmi) { write-host "Attributes:" $obj.Attributes write-host "Caption:" $obj.Caption write-host "CheckID:" $obj.CheckID write-host "CheckMode:" $obj.CheckMode write-host "CheckSum:" $obj.CheckSum write-host "CRC1:" $obj.CRC1 write-host "CRC2:" $obj.CRC2 write-host "CreateTimeStamp:" $obj.CreateTimeStamp write-host "Description:" $obj.Description write-host "FileID:" $obj.FileID write-host "FileSize:" $obj.FileSize write-host "Language:" $obj.Language write-host "MD5Checksum:" $obj.MD5Checksum write-host "Name:" $obj.Name write-host "Sequence:" $obj.Sequence write-host "SoftwareElementID:" $obj.SoftwareElementID write-host "SoftwareElementState:" $obj.SoftwareElementState write-host "TargetOperatingSystem:" $obj.TargetOperatingSystem write-host "Version:" $obj.Version write-host write-host "########" write-host }