How to Remote PowerShell to Azure VM (DIP to DIP)

Enter a PowerShell session from inside another VM located inside the same Vnet and run the following: $Skip = New-PSSessionOption -SkipCACheck -SkipCNCheck Enter-PSSession -ComputerName “HOSTNAME” -port 5986 -Credential (Get-Credential) -useSSL -SessionOption $Skip If the above does not work try the following instead: $Skip = New-PSSessionOption -SkipCACheck -SkipCNCheck Enter-PSSession -ComputerName “HOSTNAME” -port 5985 -Credential (Get-Credential) -SessionOption…

0

How to Check for NSGs & Route Tables on a Subnet level

1) Navigate to the Azure Portal 2) Click on Virtual Networks 3) Select the Vnet you want to check 4) Click on Subnets 5) Select the Subnet you want to check 6) Click Network Security Group 7) If a network security group is selected, change it to none 8) If a route table is select,…

0

Unable to RDP to Azure VM Scenarios

Generally when we have an Azure Virtual Machine we think of it as being unavailable in a few different ways: 1) Non-Boot 2) Isolated 3) VM Responding In order to better use the guides on this blog we need to clarify what each of these scenarios are and how you can use the scenario to…

0

Disable NLA via Custom Script Extension

Symptoms: When attempting to RDP to your virtual machine you receive an error regarding Network Level Authentication (NLA): Resolution:  Note: The below steps are using Custom Script Extension in the Azure Portal. If that is not an option as the Guest Agent is not responding you can also run the same commands via Remote PowerShell,…

3

How to Reset Password for VMSS (Scale Set) Instances

Symptom: Unable to RDP to a Virtual Machine Scale Set Instance (VMSS) due to an incorrect password Resolution: If Azure PowerShell is not installed, install it from http://azure.microsoft.com/en-us/downloads/ Open up PowerShell ISE as an Administrator Paste the following script into the Window modifying each of the red portions accordingly: Login-AzureRmAccount Get-AzureRmSubscription -SubscriptionId ‘SUBSCRIPTIONID’ | Select-AzureRmSubscription…

2