This is the post that I wish I had read when I started working with Azure. Let’s build a common understanding on how OAuth 2.0 works in the context of Azure, and how we can use different auth flows to get tokens and start using the many Azure APIs.
When traveling you don’t always have access to a computer, and even if you have one you might not have an internet connection. Today I’m using my Android phone to blog about blogging using an Android phone on a flight, on a flight.
SDKs, tools and re-usable modules are great, but nothing beats knowledge. Once in a while I decide to take a stab at one of the Azure APIs to learn more about the underlying structure of the service, and to see if it’s more efficient than using what’s already out there. In this post we’re exploring how the REST API of the Azure Blob Storage works with Azure AD Authentication and OAuth in PowerShell.
Tabletop games are booming again, but in a hybrid world we’re forced to innovate. How can we take our traditional Dungeons & Dragons game online? Let’s take a look at hosting Foundry Virtual Tabletop to roll dice in Azure!
Writing PowerShell modules sometimes means adding dependencies to an assembly file, such as an SDK. When the module you’re building has the same dependency as another module, a conflict occurs. What is the best way to handle the conflict, and how can you build your own assembly load context for your module?
Have you ever wanted to wrap your integration logic in a custom binding for Azure Functions for use in any language? Let’s take a look at how to post a message to Discord by writing and registering a binding extension, and using it from Azure Functions examples in C# and PowerShell.
Hashtables are really at the core of PowerShell. The further you dive into the language, the more you realize their broad utility. Today we’ll take a look at how to use them, and where to find them.
Building Durable Azure Functions allows us to orchestrate workflows using only code in a reliable way that previously was only available in other services such as Logic Apps. Let’s take a look at how they work, and when they best fit our needs.
Microsoft Ignite 2020 is currently on it’s first day and Logic Apps just got a new version in Public Preview that shares the runtime with Azure Functions, letting you run them anywhere, and there’s a new VS Code extension that lets you debug them locally. I just had to dive in and have a look!
Once in a while you encounter a service you’d like to integrate with where there is no API, or official PowerShell module that suits your purpose. This happened to me recently, so let’s take a look at how Azure Service Bus can help us, and how to integrate with it using PowerShell.
Are you curious about what US companies filed for an IPO on the stock market recently? Let’s automate an email report using Azure Functions, Logic Apps, an RSS feed and of course PowerShell.
No more nested loops to create different arrays based on whether users have a certain property or not. Learn to use Group-Object and experience a whole new level of data structuring.
Classes are an often overlooked tool in PowerShell, familiar for programmers but sometimes foreign and confusing for those new to the world of PowerShell. There are often alternatives to writing classes but there are also situations where it shines. In this post we’ll go through how to create one so that you can learn some of the strengths!
In the Azure DevOps suite there is a service called Artifacts which lets us create our own package feeds with granular access control. We can publish our own modules and scripts to share with others, all using PowerShell.
More than once I’ve been in a situation where I’m writing an Azure Function app and I’m interested in data from other parts of Azure, such as Azure AD. Sometimes the Az modules aren’t enough, so how can we get more data?
“I wanted to create a list of objects in PowerShell and it turned out a list is called an array, then what is this arraylist thing?”
PowerShell creates arrays for us when we get several results back from a command, but what are our options when explicitly wanting to declare an array, and how do we work with them?
If you’ve ever been in a situation where you would like to index a lot of pages on a webpage or get the data straight from the HTML because the site doesn’t have an API, PowerShell could have been of help. If you haven’t been in the situation yet, check out these simple tricks you can use to gather raw data straight from the web!
How does one go about printing a ton of documents based on data from a source such as a database, REST API or user input? Let’s take a look at how to print documents and graphics using PowerShell!
We’ll go through how to create a simple PowerShell Azure Function that calls an API with the key stored in an Azure Key Vault, and then how to call it from somewhere else!
Azure Table is a fantastic way to store output information from scripts in PowerShell. In this post we’ll go through what steps you take when you need to quickly store structured information in the cloud and how to work with it using a SAS token!
Last time we took a look at the Plaster scaffolding tool to let us have a different mindset when thinking about how to create a module in PowerShell. Today we’ll be taking it to the cloud using Azure pipelines to automate the building process!
You’ve heard of them, you’ve seen them, maybe you’ve created some before! Modules in PowerShell are created and used in different ways. In the first part we’ll take a look at creating a module using Plaster and gyPSum and in the second part we’ll do it again but using Azure DevOps pipelines to automate it!
Sometimes you need to work with number systems other than our good old decimal base 10. There are various ways to do this depending on what your goal is and in this post I will list a few easy ways and some more ambitious ones.
I always wanted a website to manage on my own, so with some inspiration and interest in trying out something completely out of my comfort zone I re-created my blog using Hugo, Azure and GitHub, with a custom domain name!
In the start of the past summer, a coworker and I were discussing our lunch plans for the day, not quite able to decide what to go for. I jokingly said that I should just write a PowerShell script to decide for us, an idea that I took to the next level.