Posts Tagged ‘Set-RDPublishedName.ps1’

Recently during a DR Test we wanted to change the Address on the RDP file that was being downloaded for the Remote Desktop Gateway.

Someone has put together a nicescript that can do it here :

However the file still has the old address in this line : gatewayhostname:s:

You can change this using powershell per below

Import-Module RemoteDesktop

Set-RDSessionCollectionConfiguration -CollectionName “Finance Staff RDP” -CustomRdpProperty “

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)