Using the Azure ARM REST API – Get Subscription Information

In the fist blog post over using the Azure ARM REST API I explained how to retrieve the Access Token needed for the further authentication against the Azure ARM REST API. In this blog post I’m going to explain how you can use that Access Token and start communicating with Azure using simple web calls….

0

Using the Azure ARM REST API – Get Access Token

This week I’ve been busy with trying to figure out how you can ‘directly’ talk to the Azure ARM REST API instead of using PowerShell or the Azure CLI. Because I could not find a lot of information about this topic online I thought it would nice to share some of learnings. But why would…

10

Setting up Source Control for Azure Automation

Did you already noticed that you can now setup Source Control for your Azure Automation account? Check the new Azure Portal and go to your Automation Account.   Create Github Repository Before we start we need to have a Github Repository to store our Azure Automation Runbooks.     The next step in setting up…

3

Using ARM Policies to implement Runbook Best Practices

Have you ever heard of Azure Resource Manager Policies? With policies, you can prevent users in your organization from breaking conventions that are needed to manage your organizations resources. One of the scenarios where you can use policies is making sure that tags are being added to your resources (ie Runbooks) or that a certain…

0

Developing Azure Automation Runbooks–using correct modules

When developing Runbooks for Azure Automation I noticed that it’s important to use the same (Global) PowerShell Module versions as available as Asset in Azure Automation. But let’s first talk about Azure  Automation Assets a bit more. Automation Assets Automation Assets are various resources that are globally available to be used in or associated with…

1

Using Verbose messages in Azure Automation Runbooks

While developing PowerShell scripts I like to add Verbose messages to my scripts. If you want to find more information about Write-Verbose check this TechNet webpage. But how can use Write-Verbose messages in your Azure Automation Runbooks? There are two ways to have Verbose messages being shown when running your Azure Automation Runbooks: Change the…

0

Call Word vba Macro from PowerShell

This week I was asked to help with removing tables in a large Word (docx) document when tables contained some string value in one of there cells from PowerShell. I looked at many options to manipulate Word documents from PowerShell but none of them offered any help doing that directly. I ended up creating a…

0

Re-blog: Collecting Microsoft Band Data in OMS Using PowerShell in OpsMgr

This blog post references a blog post from one of my PFE collegues Wei Hao Lim. He used my PowerShell Microsoft Health Module to collect Microsoft Band Data in OMS. How cool is that? Check out his complete blog post on: http://blogs.msdn.com/b/wei_out_there_with_system_center/archive/2016/01/31/collecting-microsoft-band-data-in-oms-using-powershell-in-opsmgr.aspx Enjoy!

0

Sealing referenced Management Packs for MP Authoring

This week I again had the ‘pleasure’ of needing sealed Management Packs when trying to author Management Packs. Take a look at the error message I got when I wanted to author a Management Pack in Silect’s MP Author tool. So I tried to find all the sealed mp files I could find on my…

1

Downloading MP Wiki info

As OpsMgr engineers we regularly check the Microsoft Management Pack Wiki for update info about Management Packs. Wouldn’t it be great if we could that automated using PowerShell? For the System Center RAP as a Service (kind of Health Check for System Center) we check if the Premier Customer has installed the latest Management Packs…

0