I have to add 100s of disk space sensors from a powershell script that identifies all the varying number of disks on each server. Each time I clone ones of these sensors, how can I set it to the relevant drive letter to check against (F:, G:, H:, etc)?
There doesnt appear to be any way of setting the Drive?
I've also tried with raw properties, and it looks like it is stored in primarychannel_, but can't seem to set this either.
Is there a way in PS to set the drive each time I clone one?
Add comment