Create new-rdmsession using VMWare Console

Create new-rdmsession using VMWare Console

avatar

I am trying to create sub sessions to our existing sessions that will use VMRC rather than RDP - is there a prebuilt script to do this or any working examples using powershell?

All Comments (4)

avatar

Hello,

After creating the VMRC session with New-RDMSession and save it with Set-RDMSession, to set it as a subconnection, you will have to use the Invoke-RDMParentSession cmdlet.

Best regards,

Érica Poirier

avatar

when I pick -type VMRC the item it creates is Microsoft Virtual Server

When I create it in the GUI using the list and picking VMWare Remote Console under Virtualization I get what I want - what -type do I need to pick?

avatar

Is there an example for VMWare Remote Console such as the example for RDP? I tried modifying the type from RDPConfigured to VMRC and I get the Microsoft or if I pick VMWare Console I get i think dashboard...

$computerName = "wind10";

$theusername = "david";

$thedomain = "windjammer";

$thepassword = "123456";

$session = New-RDMSession -Host $computerName -Type "RDPConfigured" -Name $computerName;

Set-RDMSession -Session $session -Refresh;

Update-RDMUI;

Set-RDMSessionUsername -ID $session.ID $theusername;

Set-RDMSessionDomain -ID $session.ID $thedomain;

$pass = ConvertTo-SecureString $thepassword -asplaintext -force;

Set-RDMSessionPassword -ID $session.ID -Password $pass;

avatar

Hello,

The VMRC entry type is a bit different that RDP entries as the properties are encrypted. Please see this forum thread for more information about how to handle VMWare Remote Console entry type.

https://forum.devolutions.net/topics/32917/autoupdate-vmrc-entries-with-vmids

Let me know if you need further instructions about it.

Best regards,

Érica Poirier