Windows Virtual Desktop Powershell

PowerShell cmdlets for managing and interacting with Windows Virtual Desktop.

WindowsVirtualDesktop

Add-RdsAccount

Adds an authenticated account to use for Windows Virtual Desktop cmdlet requests.

Add-RdsAppGroupUser

Assigns a user to access an app group.

Disconnect-RdsUserSession

Disconnects a user from their current active session.

Export-RdsRegistrationInfo

Exports registration information for a host pool.

Get-RdsAppGroup

Gets the properties of an app group.

Get-RdsAppGroupUser

Lists the users with access to an app group.

Get-RdsContext

Gets the metadata used to authenticate Windows Virtual Desktop requests.

Get-RdsDiagnosticActivities

Gets the details of a user action in the system.

Get-RdsHostPool

Gets the properties of a host pool.

Get-RdsRemoteApp

Lists the RemoteApp programs published to an app group.

Get-RdsRemoteDesktop

Gets the properties of a published desktop.

Get-RdsRoleAssignment

Lists role assignments at a defined scope.

Get-RdsRoleDefinition

Lists all roles that are available for assignment.

Get-RdsSessionHost

Gets the properties of a session host.

Get-RdsStartMenuApp

Lists start menu applications available for publishing to an app group.

Get-RdsTenant

Gets tenants that are authorized for the current user.

Get-RdsTenantGroup

Gets tenant groups that are authorized for the user.

Get-RdsUserSession

Lists all active user sessions in a host pool.

Invoke-RdsUserSessionLogoff

Signs off a user from their current active session.

New-RdsAppGroup

Creates an app group.

New-RdsHostPool

Creates a host pool.

New-RdsRegistrationInfo

Creates registration information for a host pool.

New-RdsRemoteApp

Adds a RemoteApp program to an app group.

New-RdsRoleAssignment

Creates a role assignment.

New-RdsTenant

Creates a tenant.

New-RdsTenantGroup

Creates a new tenant group.

Remove-RdsAppGroup

Removes an app group from a host pool.

Remove-RdsAppGroupUser

Removes a user's access to an app group.

Remove-RdsHostPool

Removes a host pool from a tenant.

Remove-RdsRegistrationInfo

Removes registration information from a host pool.

Remove-RdsRemoteApp

Removes a RemoteApp from an app group.

Remove-RdsRoleAssignment

Removes a role assignment.

Remove-RdsSessionHost

Removes a session host from a host pool.

Remove-RdsTenant

Removes a tenant.

Remove-RdsTenantGroup

Removes a tenant group.

Send-RdsUserSessionMessage

Sends a system message to a user session.

Set-RdsAppGroup

Sets properties for an app group.

Set-RdsContext

Sets the tenant group context for subsequent Windows Virtual Desktop cmdlets.

Set-RdsHostPool

Sets the properties for a host pool.

Set-RdsRemoteApp

Sets the properties for a RemoteApp.

Set-RdsRemoteDesktop

Sets the properties for a published desktop.

Set-RdsSessionHost

Sets the state of a session host.

Set-RdsTenant

Sets properties for a tenant.

Set-RdsTenantGroup

Sets properties for a tenant group.