Automatically generate RDCMan connection files with a script

RDCMan has to be my favorite tool. It’s a free program from Microsoft, where you can store all RemoteDesktop connections to your own servers and to your customers servers. I’m using each day, and I’m probably spending more time in that program than even Web Browsing and Outlook

5 Star
4,421 times
Add to favorites
E-mail Twitter Digg Facebook
  • Less a question, more a request. Default Folder
    1 Posts | Last post September 09, 2016
    • Maybe i'm being dense here, but for as long as i've used RDCMan (i was a dogfood tester at MS while i was there from 2011 to 2014) i've never found a way to create a group on the same level as a server. since the servers are placed in the root level there doesn't seem to be a way to create a group to separate teh server greoups with this output file.
      being under that impression, could you modify it to place the servers in a default sublevel so we can just create our structure manually, and then drag and drop the individual servers wherever we want them.
      the reason i'm interested is that when you are managing thousands of servers of various different kinds and locations, it gets very old trying to dig through a list that large. try finding specific servers by their naming convention in some of these enterprises, i'm honestly astonished anyone really knows what is going on with the server names in some of these places. when i was with the O365 LyncSoc team we had a guy that created one of these that actually used your group information to create a pre-populated structure of the servers you had access to, all bundled up in their appropriate spots. took about 10 minutes or so to run, but it was crazy convenient.
      i am by no means asking for that kind of thing, but a simple workaround for this issue would be very much appreciated. :)
  • Can you simplify the script to ingest a csv of computer names & IPs
    3 Posts | Last post June 28, 2016
    • I am looking for a way to ingest a list of computer IPs and associated Display Names, and groups into RDCMan connection group.  Really like that you have taken the time to write the import/create from AD.  I have no idea on how that would be written to import from a CSV or text file.  
    • Hi Bill, 
      That should be quite easy to fix, I'll try to get it done during the next few days. 
    • Added a line to import a CSV into $RDCMachines. It contains columns with the Hostname and IPAddress. Substitute this code for the section starting off with get-adcomputer
      foreach ($RDCMachine in $RDCMachines) {
      $server = $server.clone()	
      $server.DisplayName = $RDCMachine.Hostname	
      $server.Name = $RDCMachine.IPAddress
      $$server) > $null
      The result is one group with all the servers in it. Working on making this so I can add groups to the file as well.