This message was deleted.
# citrix-cloud
s
This message was deleted.
k
I had a script to query unused desktops. The full code got left behind at a client but the relevant part was something like this:
Copy code
$date = (Get-Date).AddDays(-180)
$machines = Get-BrokerMachine -MaxRecordCount 20000 -Filter { LastConnectionTime -le $date }
$machines |  Export-Csv $outfile
You might be able to do something similar with
Get-BrokerApplication
👍 1
j
Thanks I will give it a go, you would think Citrix would have that in Monitor already.