Testing things is always essential, and Windows has a nice built-in Feature for that which is called Windows Sandbox. You can look at this as a throwaway Windows VM, you start and use it, and afterward, there's no trace of it anymore, making it ideal for testing! In this blog post, I will show you how to test PowerShell scripts and Intune packages in Windows Sandbox.
Author: Harm Veenstra
Using the preview version of the WinGet PowerShell Module
I've been using the WinGet command-line version for quite some time now, and I am pleased with the apt-get-like installation method for installing/updating/removing software on my Windows machines. (WinGet is also the new Windows Store installation option for Microsoft Intune) But there's also a PowerShell module for WinGet, still in preview (Alpha) but very functional already. I will show you how to use that module in this blog post.
Using PowerShell on your Stream Deck
An excellent way to run your scripts is by using a Stream Deck 🙂 I purchased one last month (Elgato Stream Deck Mk 2 Studio Controller with 15 buttons), mainly because of the Microsoft Teams support, but you can use it for PowerShell too! In this blog post, I will show you a few examples.
Using PSCustomObject in PowerShell
This is one of the most used tools in PowerShell that I use, an excellent way of storing and using data for reporting purposes. In this blog post, I will show you how to use it to your benefit.
Using Trace-Command in PowerShell for debugging
When testing Functions in PowerShell or just executing cmdlets, you don't always get enough information when things don't work. The Trace-Command cmdlet is a valuable tool that gives you much information about what's going on behind the scenes. In this blog post, I will show you how to use it.
Using PSEdit as PowerShell editor
I like using Visual Studio Code as my PowerShell script editor, but alternative editors exist. The built-in PowerShell ISE is usually there for you on Windows, but there's a nice PowerShell module that you can use called PSEdit. In this blog post, I will show you how to use that as an alternative to VSCode.
Visual Studio Code Snippets and PowerShell
You often repeat certain standard things when writing scripts in Visual Studio Code. Wouldn't it be nice if we could simplify that? This blog post will show you how to use VSCode Snippets to your advantage!
Report on SMTP Send/Receive Logs from Exchange using PowerShell
I had to check many log files of an Exchange 2016 server to see which clients or applications were on which Exchange Send Connector and what emails were being received on which Receive Connector. A nice thing to do using PowerShell 🙂 This blog post will show you how to get a simple overview of the logs.
Toot on Mastodon using API and PowerShell
I wrote blog posts about how to use an API for Slack and Twitter messages, but... Mastodon is also there now, and I thought... Ok, can I Toot in Mastodon using PowerShell? This blog post will show you how 😉
Export pipeline output to a MarkDown file using PowerShell
I like using MarkDown to format text and Obsidian to save my notes, and sometimes you want to export the output from cmdlets or scripts for future reference. This blog post will show you how to easily save that output to a new or existing MarkDown file.