Hey guys,
Wanting some help on how I can write a powershell query that PRTG can understand. Im trying to provide some counts on Citrix licensing. I have currently have this:
gwmi -class "Citrix_GT_License_Pool" -Namespace "ROOT\CitrixLicensing" -comp x.x.x.x | Select-Object @{n="Product";e={$_.PLD}},@{n="In Use";e={$_.InUseCount}},@{n="Available";e={$_.Count}} | ConvertTo-Json
How can make this in json readable format that PRTG can understand? I'm a bit of a noob in the script writing for Powershell and was hoping I could get some tips?
Add comment