Looking for a method to capture some statistics on machines on the local network. Primarily, Hard drive size and utilization.
I’ve come up with two methods, but both have draw backs.
1) User a powershell script to execute Get-WMIObject The issue with this is that if the machine executing the service goes down all tracking goes down for that time period and also the user executing the service requires elevated permissions to execute Get-WMIObject on a remote machine.
2) Create a service that is installed and executes on all machines to be tracked. If any machine goes down, the stats are actually accurately representing that they are not available, but deployment and maintenance of the service is much more complicated then just adding a server name to a list of machines to test…