-
Notifications
You must be signed in to change notification settings - Fork 3
StorageHash
Bryan Lockwood edited this page Jul 25, 2015
·
7 revisions
At present, PSPerf stores all retrieved data into a hashtable, $StorageHash. From time to time, Export-CliXML is called, to write $StorageHash to disk as PSPerf.clixml.
The contents of $StorageHash are:
-
target (hashtable)
- DiskQueue (hashtable)
-
driveletter (arraylist)
- value,value,value...
-
driveletter (arraylist)
- DiskFree (hashtable)
-
driveletter (arraylist)
- value,value,value...
-
driveletter (arraylist)
- CpuQueue (arraylist)
- value, value, value...
- MemQueue (arraylist)
- value, value, value...
- Events (arraylist)
- value, value, value...
- RebootPending (hashtable)
- timestamp or $false (if reboot is pending, timestamp when first detected. if not, $false)
- DownSince (hashtable)
- timestamp (if target is down, timestamp when first detected. if up, this value is removed)
- UpSince (hashtable)
- timestamp (if target is up, time of last successful boot. if down, this value is removed)
- DiskQueue (hashtable)
target is the computername of a PC to gather data from
driveletter is the driveletter (or name) as retrieved via Get-Counter