Hi thanks for posting and all the great info about WVD, I have an issue whiling setting up the remote apps here.
This is what i am trying to run
$RemoteApps = @(
@{AppGroupName = 'MeltwaterdevWDV-WVD'; FilePath = 'mw-dev-eus-rad.rdp'}
@{AppGroupName = 'MeltwaterdevWDV-WVD'; FilePath = 'mw-dev-eus-ad1.rdp'}
)
foreach ($App in $RemoteApps) {
Get-RdsStartMenuApp -TenantName $WVDTenantName
-HostPoolName $WVDHostPoolName -AppGroupName $App.AppGroupName
| ? FilePath -Match $App.FilePath `
-OutVariable NewApp
New-RdsRemoteApp `
-TenantName $WVDTenantName `
-HostPoolName $WVDHostPoolName `
-AppGroupName $App.AppGroupName `
-Name $NewApp.FriendlyName `
-Filepath $NewApp.filepath `
-IconPath $NewApp.iconpath `
-IconIndex $NewApp.iconindex
}
This is an error that I got
New-RdsRemoteApp : Cannot bind argument to parameter 'Name' because it is null.
At line:20 char:15
-
-Name $NewApp.FriendlyName `
-
- CategoryInfo : InvalidData: (:) [New-RdsRemoteApp], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.RDInfra.RDPowershell.RemoteApp.NewRdsRemoteApp
New-RdsRemoteApp : Cannot bind argument to parameter 'Name' because it is null.
At line:20 char:15
-
-Name $NewApp.FriendlyName `
-
- CategoryInfo : InvalidData: (:) [New-RdsRemoteApp], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.RDInfra.RDPowershell.RemoteApp.NewRdsRemoteApp
Hi thanks for posting and all the great info about WVD, I have an issue whiling setting up the remote apps here.
This is what i am trying to run
$RemoteApps = @(
@{AppGroupName = 'MeltwaterdevWDV-WVD'; FilePath = 'mw-dev-eus-rad.rdp'}
@{AppGroupName = 'MeltwaterdevWDV-WVD'; FilePath = 'mw-dev-eus-ad1.rdp'}
)
foreach ($App in $RemoteApps) {
Get-RdsStartMenuApp
-TenantName $WVDTenantName-HostPoolName $WVDHostPoolName
-AppGroupName $App.AppGroupName| ? FilePath -Match $App.FilePath `
-OutVariable NewApp
}
This is an error that I got
New-RdsRemoteApp : Cannot bind argument to parameter 'Name' because it is null.
At line:20 char:15
New-RdsRemoteApp : Cannot bind argument to parameter 'Name' because it is null.
At line:20 char:15