Retrieve Azure Virtual Machine Size information with PowerShell

One important topic to consider when deploying virtual machines in Azure is the size of the virtual machine as this affects the pricing, but beware that not only virtual machine sizing has a pricing impact other factors like storage and optional features like IP address options add to the costs as well. A good starting point to get an understanding of virtual machine costs is the Azure pricing calculator: https://azure.microsoft.com/en-in/pricing/calculator/ Be aware that when selecting Read More …

Download and Install the Windows Assessment and Deployment Kit with PowerShell

Back in June 2012 I posted the Automated download and Installation for the Windows Assessment and Deployment kit article. Not a lot has changed since then,i.e. you still need to first download the sources before you can install them. Nevertheless since using batch scripts isn’t really state of the art anymore these days,I decided to rewrite the script in PowerShell.

Downlload source from GitHub

Select-MyAzureRmSubscription

I have multiple Azure subscriptions linked to my account, so anytime I connect to Azure in PowerShell I have to make sure i am working in the right context. To simplify this I wrote a little helper function called Select-MyAzureRmSubscription. After entering the -SubscriptionName parameter the script enumerates alll the subscriptions I have access to and generates a dynamic parameter option.

Script location on GitHub: https://github.com/alexverboon/posh/blob/master/Azure/Utilities/select-MyAzureRmSubscription.ps1  

PowerShell Script – Get-MsolUserInformation

The Get-MsolUserInformation cmdlet provides an easy way to retrieve all users that are a member or guest and/or are registered in Azure Directory or Active Directory.

 

Windows 10 Upgrade Analytics – Notes and PowerShell snippets

I am considering using the Windows 10 upgrade analytics for our Windows 10 project that we’ve just started just recently. Below you find some random notes and references I have gathered during my exploration journey. The Upgrade Analytics Blog Here is where you find the latest information from the Upgrade Analytics team: https://blogs.technet.microsoft.com/upgradeanalytics/ Upgrade Analytics on TechNet Information about the Architecture, deployment techniques, prerequisites and more can be found here: https://technet.microsoft.com/en-us/itpro/windows/deploy/manage-windows-upgrades-with-upgrade-analytics If you have concerns Read More …

Clean up unused Azure Resources with PowerShell

Today when I opened my Azure portal I had a little surprise. The monthly MSDN subscription credit was much lower as I expected it to be. Did I eventually forget to turn off a virtual machine? Curious to find out where the cost had come from, I drilled into the subscription details and noticed that the higher costs had come from the Premium storage that I had used recently to deploy a virtual machine using Read More …

PowerShell script to run the Windows App Certification Kit

The Windows App Certification Kit is an easy to use tool to check whether an application has potential compatibility issues when running on Windows 10.  The tool can be executed in GUI mode and in command line mode. I wrote a PowerShell script that runs the Windows App Certification Kit in a more or less automated way. I say more or less, because the application installation process of the application itself might still prompt for Read More …

PowerShell Script – Get-IscMSSecBulletinInfo

Hey there, the Internet Storm Center recently extended their Rest API with some features for Microsoft Patch Data. So where there is a REST API, there’s an opportunity for a PowerShell Script.  The Get-IscMSSecBulletinInfo can be found here: https://github.com/alexverboon/posh/blob/master/Security/Get-IscMSSecBulletinInfo.ps1 Cheers /Alex

Creating a Virtual Network using Azure Resource Manager – Part 2

In the previous article (Part1) I walked through the steps of creating a Virtual Network using Azure Resource Manager and Visual Studio. In this article, we’ll look at using the Azure PowerShell cmdlets the some options for using parameters. For this walkthrough you need the following: An Azure Subscription that allows you to deploy resources Azure PowerShell 1.0 or great, download and installation details can be found here   First login to Azure using the Read More …