Today in our Citrix XenApp Environment i found one application on which No Citrix server was configured, that means application is not is use or we can say application won't work if user access this application
I have written a PowerShell script to list Citrix XenApp application configured with No server
Copy below mention code and save as listappwithnoserver.ps1
run via powershell.
you will get the output in output.txt at c:
-----------------------------------------------------------------------
$applications = Get-XAApplication
$servers = Get-XAServer
foreach($app in $applications)
{
$ser = $null
$ser = Get-XAServer -BrowserName $app
If ($app.ApplicationType -eq "ServerInstalled")
{
if ($ser -eq $null )
{
echo $app.displayname | Out-File c:\output.txt -Append
}
}
}
I have written a PowerShell script to list Citrix XenApp application configured with No server
Copy below mention code and save as listappwithnoserver.ps1
run via powershell.
you will get the output in output.txt at c:
-----------------------------------------------------------------------
$applications = Get-XAApplication
$servers = Get-XAServer
foreach($app in $applications)
{
$ser = $null
$ser = Get-XAServer -BrowserName $app
If ($app.ApplicationType -eq "ServerInstalled")
{
if ($ser -eq $null )
{
echo $app.displayname | Out-File c:\output.txt -Append
}
}
}
No comments:
Post a Comment