forked from exexpat/WVDscripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRemoteApp Creation.ps1
10 lines (10 loc) · 988 Bytes
/
RemoteApp Creation.ps1
1
2
3
4
5
6
7
8
9
10
Import-module Microsoft.Rdinfra.RdPowerShell
Install-module Microsoft.Rdinfra.RdPowerShell
Add-RdsAccount -DeploymentURL https://rdbroker.wvd.microsoft.com
Get-RDSTenant -Name "[YourWVDTenantName]"
Get-RDSAppGroup -TenantName "[YourWVDTenantName]" -HostPoolName "My first hostpool"
New-RdsAppGroup -TenantName "[YourWVDTenantName]" -HostPoolName "My first hostpool" -Name "Basic app group" -ResourceType RemoteApp
Get-RdsStartMenuApp -TenantName "[YourWVDTenantName]" -HostPoolName "My first hostpool" -AppGroupName "Remote Apps"
New-RdsRemoteApp -TenantName "[YourWVDTenantName]" -HostPoolName "My first hostpool" -AppGroupName "Basic app group" -AppAlias word
Remove-RdsAppGroupUser -TenantName "[YourWVDTenantName]" -HostPoolName "My first hostpool" -AppGroupName "Desktop Application Group" -UserPrincipalName [UPN Email]
Add-RdsAppGroupUser -TenantName "[YourWVDTenantName]" -HostPoolName "My first hostpool" -AppGroupName "Basic app group" -UserPrincipalName [UPN Email]