Hi all,
I need to add about 100 "sets" of RDP entries that are near identical and looking for suggestions on the most efficient way to setup in RDM. Some info about how these sets are setup:
Each "set" has 3 RDP entries
Each set has a unique ID we've assigned from a range of numbers (e.g. 1010-1080)
All 3 entries in a set use the same IP, but each entry uses a unique port
The last octet in the IP address correlates to the set ID. For example, the IP address for set "1010" is 10.80.80.10
The name of each set entry should be <server type> <set ID>, where <server type> is one of 3 server types used in each set - RDS, File, and Email.
All other settings between entries should identical
So for example, this is how the first two sets would be structured:[u][b]Set 1010[/b][/u]
|- RDP Entry 1
|-- Name: RDS [b]1010[/b]
|-- IP: 10.80.80.[b]10[/b]
|-- Port: 3389
|- RDP Entry 2
|-- Name: File [b]1010[/b]
|-- IP: 10.80.80.[b]10[/b]
|-- Port: 3390
|- RDP Entry 3
|-- Name: Email [b]1010[/b]
|-- IP: 10.80.80.[b]10[/b]
|-- Port: 3391
[u][b]Set 1011[/b][/u]
|- RDP Entry 1
|-- Name: RDS [b]1011[/b]
|-- IP: 10.80.80.[b]11[/b]
|-- Port: 3389
|- RDP Entry 2
|-- Name: File [b]1011[/b]
|-- IP: 10.80.80.[b]11[/b]
|-- Port: 3390
|- RDP Entry 3
|-- Name: Email [b]1011[/b]
|-- IP: 10.80.80.[b]11[/b]
|-- Port: 3391
Hopefully this makes sense. I'm not sure if I should be using templates, sub connections, or folders with dynamic variables as the most efficient way to set this up. Any suggestions are greatly appreciated!
Hello,
I believe the closest thing I could recommend would be to create a group template that contains a folder and three entries under it. Here are the steps for this setup :
Create a Server-type folder and name it Set.
Inside it, create three RDP entries and give them the names "RDS $COMPUTER_NAME$", "File $COMPUTER_NAME$ and "Email $COMPUTER_EMAIL$, the Host "$COMPUTER_HOST$" and configure the port for each of the entries.
Once that template is configured to your liking, you can highlight the folder and three entries in the Navigation pane, right-click them and go to Add > Save as Template Group. Give the template a name and confirm its creation.
Add a new entry and select this Template. In Group Name, enter the name you wish to give to the folder.
Enter the folder's properties and enter its IP address. The variables set in the template will take care of filling it in the entries.
You will need to repeat the last three points for each set you wish to create.
I understand though that if you have a hundred sets this method might be a bit time consuming, and that the inherited name for the RDP entries will not be quite what you described. I would invite you to also verify in the PowerShell repository section of our forum if one of my higher-level colleagues would be able to suggest a PowerShell script that might be able to execute your setup more efficiently.
Best regards,
Gabriel Degrandpré
Thank you for this! The only slight snag I came across is the fact RDM doesnt allow for duplicate names, even if they're made unique through custom fields. Otherwise this is about as streamlined of a solution as I was hoping have (outside of scripting).
Much appreciated!