PowerShell

Photo by @markusspiske / Unsplash.com

Building a simple backup solution for Hyper-V-based virtual machines using OneDrive for Business and PowerShell

At home, I run several PCs – a few laptops, and one workstation which is a bit more performant, so that I can run Hyper-V and virtual machines on it. It’s also my server for Plex, the amazing multimedia system that effectively allows me to have my own private Netflix wherever I go. At the moment, my server runs on Windows 10 Pro for Workstations, which is the special edition for high-performance PCs. Among others, it provides a new power plan named Ultimate Performance, for a little bit of added push. It also supports Hyper-V, so I can comfortably run virtual machines locally instead of relying on Azure for everything. I run my VMs off from two disks – one… Read More »Building a simple backup solution for Hyper-V-based virtual machines using OneDrive for Business and PowerShell
Photo by @emcomeau / Unsplash.com

Building my own RSS feed generator using .NET Core and the new System.Text.Json assembly

It’s that time again! And by this I mean I was thinking of grabbing a cup of coffee, splashing out a few lines of code and have something useful come out. The way I seem to make learning easier for me is to build something. Many times when I’m in the middle of debugging some code, I realize the solution I’m about to build has probably been done a thousand times already, by more experienced people. But that’s more than fine, as I’m always learning. The problem I’ve written earlier how I transformed my WordPress-based blog to a static website (see Running a static site in Microsoft Azure using WordPress for content management). This solution is still in use today,… Read More »Building my own RSS feed generator using .NET Core and the new System.Text.Json assembly
Photo by @valentinsteph / Unsplash.com

Getting started with Windows Terminal

About three months ago, Microsoft announced a new command-line interface for Windows called Windows Terminal. Occasionally I am seeing it being called Microsoft Terminal also. The announcement was done during Microsoft Build 2019 in May, and you can view that introductory session here: There is also an amazing video, which I think is called a sizzle video, here: The idea with Windows Terminal is to go beyond the traditional Command Prompt, that has been around in Windows (and before that, in MS-DOS) for decades. We got PowerShell in late 2006, and that’s a very capable and viable alternative to Command Prompt. But then again, PowerShell is still very much a management and task automation framework with a scripting language. Windows… Read More »Getting started with Windows Terminal
Image by @hbtography / Unsplash.com

Building a simple and secure DNS updater for Azure DNS using Raspberry Pi and Azure Functions

Almost exactly a year ago I blogged about building a simple and secure DNS updater for Azure DNS using PowerShell. If you didn’t read that post, it’s a solution for keeping my dynamic IP updated with a static DNS name using a little bit of automation from PowerShell. This tool is useful for when I VPN back home, the dynamic IP has often changed and without a pointer (with DNS) it’s impossible to know where to connect. I hinted in the summary of that previous post that I already had more ideas on how to make this, even more, simpler and lightweight. It took a year but here I finally am – building this very same solution using Raspberry Pi… Read More »Building a simple and secure DNS updater for Azure DNS using Raspberry Pi and Azure Functions
Photo by @florianklauer / Unsplash.com

Building a secure remote access solution for Azure-based virtual machines using Azure AD and Windows Admin Center

[Update October 1, 2019: I’ve published another blog post on Azure Bastion Host, which complements the findings and services I go through in this post. Perhaps have a look at it here!] I’ve had some fun times lately with Azure. It seems there really is a second wave of adoption for cloud-based infrastructure and services from organizations. This is especially true in the Nordics, where Azure is commonly accepted as a trusted option for data centers and PaaS services. This post stemmed from the idea of figuring out what options do we have for accessing and managing virtual machines remotely while enforcing a secure approach. Ideally, we’d like to secure authentication with Azure AD, and optionally enforce Multi-Factor Authentication (MFA)… Read More »Building a secure remote access solution for Azure-based virtual machines using Azure AD and Windows Admin Center

I feel bad for not paying for quality software – so I made a small donation

I’ve been using computers since I was 5. I’ve worked in IT more or less full time since I was 13. For all this time, I’ve used an endless amount of software written by people I’ve never met and whom I’ve never thanked properly. Windows, Office and the typical productivity software of course gets a yearly thank you note from me and my company in the form of different sorts of payments through the Microsoft Partner Network, but everything else I use does not. I was paying some bills last weekend and I figured I had some extra money left after the mandatory payments. Not a lot, but some. I started thinking about some of the projects I’m involved in.… Read More »I feel bad for not paying for quality software – so I made a small donation