Skip to content
Branch: master
Find file History
Pull request Compare This branch is 554 commits behind Azure:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Deploys set of Windows VM instances under Load Balancer and configures WinRM Https listener on VMs using a self-signed certificate.

Description of Template

This template allows you to create a set of Virtual Machines under a Load Balancer. It also configures a WinRM https listener by creating a new test certificate.

The template uses a custom script extension which executes the script '' on the target VMs. This script creates a self signed certificate and configures the WinRM Https listener using the certificate's thumbprint.

How to connect to a Target Azure VM post WinRM configuration

Use the below script to connect to an azure vm post winrm configuration. Assign the exact fqdn of your azure vm to $hostname. The script pops up a credential window, provide the credentials of azure vm.

$hostName=<fqdn-of-vm>  #example: ""
$winrmPort = '40003'

# Get the credentials of the machine
$cred = Get-Credential

# Connect to the machine
$soptions = New-PSSessionOption -SkipCACheck
Enter-PSSession -ComputerName $hostName -Port $winrmPort -Credential $cred -SessionOption $soptions -UseSSL
You can’t perform that action at this time.