Jump to content
Welcome to our new Citrix community!
  • 0

unused vda report


Glenn Brown1709162215

Question

Hi I am a citrix novice  and coming into an established env running  7.7 so need some guidance.   I would like to run a report of all my VDA and apps published on each one. In the end I would be searching for VDAs with no apps, that I can remove from the env, but this report in general would be good for auditing.

 

Can someone help me with a PS to get this info?  I found the script below, but it looks at the reverse, look at all apps published and tells me what server they are on, but doesn't clarify if no apps are published on various VDAs.

 

asnp citrix*
$apps = Get-BrokerApplication
foreach ($app in $apps){
Write-Output "`n`r"
Write-Output "Application name: $($app.name)"
$dgUIDs = $app.AssociatedDesktopGroupUids
foreach ($dgUID in $dgUIDs){
$VDAs = Get-BrokerDesktop -DesktopGroupUid $dgUID
Write-Output "`tDeliveryGroup:
$($VDA.DesktopGroupName)"
foreach ($VDA in $VDAs){
Write-Output "`t`tVDA: $($VDA.DNSName) Machine Catalog: $($VDA.CatalogName)"
}
}
}

 

thank you,

-GB

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...