Hi,
I'm new to RDM and I'm testing out the Free edition at the moment.
I have the following scenario and wonder what will be the best way to do this:
I have Hyper-V on my laptop. All the VMs are turned off or saved.
I want RDM to start the VM and then connect to it with RDP.
Hello,
Personally I would use the Hyper-V Powershell module.
Using the enterprise edition, we would have entry chaining and the possibility of using a set of parameterized scripts to make it reusable and flexible. With the Free edition, our actions are limited, but I have a solution that works and offers limited noise.
Define your RDP entry as usual for the general tab, the magic will happen using the VPN tab, which basically could be described as "do something else before opening RDP"
first tab
second tab
you just have to replace "thename" with the name of your VM.
The -noexit parameter could be removed if it works most of the times. The annoyance will be to see a powershell window flashing whenever you use that session. Some may consider this major, others will not.
On my machine, the hyper-v module is already installed and registered, no need to import it. I am unsure as to if it came with something else that I've installed. It should be a simple matter of testing on your machine simply by calling Get-VM.
Best regards,
Maurice
vpn2.png
vpn1.png
Thanks Maurice, just what I needed! :)