Remoting into Azure ARM Virtual Machines using Powershell

You can find all the referenced scripts in my TechNet Gallery and download them from here. With the introduction of Azure Resource Manager (ARM), there has been a slight change in the way we remote into Azure Virtual Machines. If you’ve worked with Azure Service Management Virtual Machines, you would recollect that the default Powershell…

2

Getting Daily and Monthly Azure Billing Information for multiple subscriptions

The Visual Studio Solution I recently published in the TechNet Gallery here contains a console application that will help you collect data reports for daily and monthly Azure Consumption for multiple subscriptions. To get started, you need to replace the values in App.Config in WebJobBillingData Project. Code execution starts from Program.cs which initially gets the…

0

Authenticating to Services by storing credentials in Azure Key Vault

Almost all the time we face this challenge of maintaining a central repository for storing the credentials, certificates and access keys to authenticate to the various online services. In this blog post I am going to cover various authentication scenarios that can be achieved by storing credentials and certificates in Azure Key Vault and how…

3

Encryption using Azure Key Vault - C# and PowerShell

In this post I am going to show how you can encrypt strings using Azure Key Vault. Please refer this documentation for the encryption standards followed by Azure Key Vault. So, lets start by creating a new Key Vault in Azure. Once you have done that, generate a new Key which is a Software Key and…

1

Convert a code in C# to be used in PowerShell

Have a piece of code working in C# and want to use the same in PowerShell? Well, no problem! Open Visual Studio, create a class library, compile it and when you reference your dll in PowerShell – you’re all set. So, lets see how we can do this step by step. Open Visual Studio and…

3