Using Xterm as terminal for PowerShell on Linux

You could have not missed the information that we open sourced PowerShell and that it is available on Linux. I wanted to start playing with PowerShell on Linux but did not wanted to install a complete Linux OS so I installed PowerShell for Linux on Linux on Windows Subsystem for Linux. Let’s start with installing…


Using Wunderlist Module in Azure Automation–Part 2

  In the first part of this blog post series about using Using Wunderlist Module in Azure Automation I explained how to get started with the PowerShell Wunderlist Module. Please check this blog post first if you have not done so. In this last blog post we are going to use the PowerShell Wunderlist Module…


Using Wunderlist Module in Azure Automation–Part 1

Last week I released my first version of the PowerShell Wunderlist Module on the PowerShell Gallery. In the coming blog posts I’ll explain how to use the PowerShell Module within Azure Automation, so you can create some todo task to help manage your Azure resources. What is Wunderlist? Wunderlist is a cloud-based task management application….


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…


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…


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…


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…


Ignore OMS Assessment Recommendations

Did you know you can ignore OMS Assessment recommendations by putting a text file that OMS will use to prevent that have failed for computers in your environment? Yes you can. Here are the steps: To create and use an IgnoreRecommendations.txt text file Create a file named IgnoreRecommendations.txt. Paste or type each RecommendationId for each…


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…


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: Enjoy!