Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Remote command:
- Invoke-Command -ComputerName "RDSGatwayServer" -ScriptBlock {Get-RDSessionHost -CollectionName "RDS"}
- Error:
- A Remote Desktop Services deployment does not exist on RDSGatewayServer.Test.lab. This operation can be performed after creating a deployment. For information about creatin
- g a deployment, run "Get-Help New-RDVirtualDesktopDeployment" or "Get-Help New-RDSessionDeployment".
- + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
- + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDSessionHost
- + PSComputerName : RDSGatewayServer
- Running the command local:
- CollectionName SessionHost NewConnect
- ionAllowed
- -------------- ----------- ----------
- rds SRVVRDS06.test.lab Yes
- rds SRVVRDS03.test.lab Yes
- rds SRVVRDS05.test.lab Yes
- rds SRVVRDS04.test.lab Yes
- rds SRVVRDS01.test.lab Yes
- rds SRVVRDS07.test.lab Yes
- rds SRVVRDS02.test.lab Yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement