Skip to content

Commit a1c9884

Browse files
authored
Update to New-RdsRegistrationInfo cmdlet usage
Update to New-RdsRegistrationInfo cmdlet usage: use Out-File instead of ">" to make it more clear to users
1 parent ce676d2 commit a1c9884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/virtual-desktop/create-host-pools-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ New-RdsHostPool -TenantName <tenantname> -Name <hostpoolname>
3232
Run the next cmdlet to create a registration token to authorize a session host to join the host pool and save it to a new file on your local computer. You can specify how long the registration token is valid by using the -ExpirationHours parameter.
3333

3434
```powershell
35-
New-RdsRegistrationInfo -TenantName <tenantname> -HostPoolName <hostpoolname> -ExpirationHours <number of hours> | Select-Object -ExpandProperty Token > <PathToRegFile>
35+
New-RdsRegistrationInfo -TenantName <tenantname> -HostPoolName <hostpoolname> -ExpirationHours <number of hours> | Select-Object -ExpandProperty Token | Out-File -FilePath <PathToRegFile>
3636
```
3737

3838
After that, run this cmdlet to add Azure Active Directory users to the default desktop app group for the host pool.

0 commit comments

Comments
 (0)