PointingDevice - 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 PointingDevice WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
PointingDevice
Example(s)
$strComputer = "." $objWMi = get-wmiobject -computername localhost -Query "Select * from CIM_PointingDevice" foreach ($obj in $objWmi) { write-host "Availability:" $obj.Availability write-host "Caption:" $obj.Caption write-host "ConfigManagerErrorCode:" $obj.ConfigManagerErrorCode write-host "ConfigManagerUserConfig:" $obj.ConfigManagerUserConfig write-host "CreationClassName:" $obj.CreationClassName write-host "Description:" $obj.Description write-host "DeviceID:" $obj.DeviceID write-host "DeviceInterface:" $obj.DeviceInterface write-host "DoubleSpeedThreshold:" $obj.DoubleSpeedThreshold write-host "ErrorCleared:" $obj.ErrorCleared write-host "ErrorDescription:" $obj.ErrorDescription write-host "Handedness:" $obj.Handedness write-host "HardwareType:" $obj.HardwareType write-host "InfFileName:" $obj.InfFileName write-host "InfSection:" $obj.InfSection write-host "InstallDate:" $obj.InstallDate write-host "IsLocked:" $obj.IsLocked write-host "LastErrorCode:" $obj.LastErrorCode write-host "Manufacturer:" $obj.Manufacturer write-host "Name:" $obj.Name write-host "NumberOfButtons:" $obj.NumberOfButtons write-host "PNPDeviceID:" $obj.PNPDeviceID write-host "PointingType:" $obj.PointingType write-host "PowerManagementCapabilities:" $obj.PowerManagementCapabilities write-host "PowerManagementSupported:" $obj.PowerManagementSupported write-host "QuadSpeedThreshold:" $obj.QuadSpeedThreshold write-host "Resolution:" $obj.Resolution write-host "SampleRate:" $obj.SampleRate write-host "Status:" $obj.Status write-host "StatusInfo:" $obj.StatusInfo write-host "Synch:" $obj.Synch write-host "SystemCreationClassName:" $obj.SystemCreationClassName write-host "SystemName:" $obj.SystemName write-host write-host "########" write-host }