Install Windows Virtual Desktop CMDlet

  1. Run Powershell as Administrator, if you don’t know how you can right click Start Button and select Windows Powershell (Admin)

2. Once Powershell screen pop-up

3. Use the command Install-Module -Name Microsoft.RDInfra.RDPowerShell . If this is the first time you install from Powershel Gallery you will receive an untrusted repository prompt you can select Y for install this 1 time or A for Yes to All.

*In order to use install this Windows Virtual Desktop Cmdlets, you will require Windows Powershell 5.0 and 5.1 only, it cannot be use on Powershell Core 6.x or 7.0