Tag: TerminalServices

  • How to update ssl certificate for RD Gateway via powershell

    Recently, I tried to find a way to update the automatic certificate for the RD Gateway service. Unfortunately, there are no ready-to-use cmdlets (no idea why Microsoft didn’t write them). In this case, I used Get-CimInstance and Invoke-CimMethod commands to achieve the goal. The code below updates the certificate and restarts the service. Don’t forget…