Modify powershell script: 2 minor modifications to be added

Job ID: 33313324

Budget: $10 – $30 USD

Modify powershell script. I'm looking to get "Rdcman.psm1" (powershell file) modified with the following couple changes. The script and more information regarding the script can be found at the original link pasted below. After using "Rdcman.psm1" on my vcenter, I was presented with a download of "Current.rdg"(Remote Desktop Connection Manager filer) which looked like "Current.png".

1. Currently, the name field in rdg file for each server entry is populated with IP Address. I want the name fields for every entry to be the what the displayname is currently(FQDN). I don't like VMs connecting via IP Address, I prefer DNS instead.

2. Currently every exported VM entry using the script are all created under the group (thedomain.com). What I am looking for is for every VM to be under a separately created group based on the 3 characters before the number, and then under another group inside that which would be the 3characters, and the one digit.

After the above 2 changes, the downloaded file should present something like what's available in "Envisioned Result.rdg" and should look like "Envisioned Result.png". All files and images are using sample data, so please don't hardcode any vcenter/domain info when modifying the script.


Original link: https://www.vxav.fr/2018-02-18-all-your-vms-in-rdcmanager-in-20-seconds/. (You can download Rdcman.ps1) here.
Related categories: XML Windows Server Powershell