New-RDMSession : Cannot bind positional parameters because no names were given.
Dear Devolutions,
I try to create a folder in our datasource via powershell, but i can't get it working.
Executing the following powershell command via de RDM cmdlet:
$group = New-RDMSession -Kind "Group" -Name "PasswordPOC"
Set-RDMSession $group
It keeps saying:
New-RDMSession : Cannot bind positional parameters because no names were given.
At line:1 char:10
+ $group = New-RDMSession -Kind "Group" -Name "PasswordPOC"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-RDMSession], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousPositionalParameterNoName,RemoteDesktopManager.PowerShellModule.NewRDMSessionCommand
i am logged on as an administrator in the datasource.
Any ideas?
Thanks in advance.
Hi,
In the new PowerShell module, the parameter Kind has been renamed Type.
Ex:$group = New-RDMSession -Type Group -Name "PasswordPOC"Set-RDMSession $group -Refresh
Best regards,
Olivier Désalliers
Yes, This worked! Thanks a lot :)
The documentation is not updated !
This is very confusing. Do you really expect people being able to use the wrongly/undocumented feature ?
https://help.remotedesktopmanager.com/index.html?new-rdmsession.htm
Hello,
The documentation is now online, sorry about the delay.
Best regards,
Maurice
Thanks for your fast reaction !
Jacques