PowerShell Logo Small

Get-RDVirtualDesktopIdleCount



This is the built-in help made by Microsoft for the command 'Get-RDVirtualDesktopIdleCount', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets the number of idle virtual desktops on hosts.

SYNTAX


Get-RDVirtualDesktopIdleCount [[-HostServer] <String[]>] [-ConnectionBroker <String>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-RDVirtualDesktopIdleCount cmdlet gets the number of idle virtual desktops on one or more hosts. This cmdlet retruns a value that
represents the number of idle virtual desktops from every pool.


An idle virtual desktop is a virtual machine that is in a running state and there is no user logged on to it. Idle virtual desktops continue
to run even if you configured the pool so that the server saves a virtual desktop that is not in use.



<

RELATED LINKS

Set-RDVirtualDesktopIdleCount
Get-RDVirtualDesktopCollectionConfiguration

REMARKS

<

Examples


Example 1: Count idle virtual desktops on hosts

PS C:\>Get-RDVirtualDesktopIdleCount -HostServer @("rdvh-1.contoso.com","rdvh-2.contoso.com") -ConnectionBroker "rdcb.contoso.com"



This command gets the number of idle virtual desktops associated with the connection broker named "rdcb.contoso.com" on the host servers named
"rdvh-1.contoso.com" and "rdvh-2.contoso.com".