Category: Windows Server

  • How to install a certificate on a Windows machine

    The certificate installation is simple. In two words we need to copy the certificate to the appropriate location where our computer can locate it. Let’s install the certificate with GUI. First, we need to copy the certificate on the target machine and then make double-click to open it. The certificate import wizard appears and asks…

  • Working with standard console outputs

    In this topic, I am going to show you how to work with console output. You will learn: When you run a console app in a shell you may see output any output. Without any additional commands, we just see a lot of text in the console so it hardly can be analyzed. Redirecting the…

  • 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…