Create a multiple-choice quiz using PowerShell

Tomorrow I'm taking the AZ-800 (Administering Windows Server Hybrid Core Infrastructure) exam and I wanted to create a simple test exam quiz for myself with multiple-choice questions. This blog post will show you how to do that using an Excel file with questions and A, B, C, and D answers including the correct answer to check on.

Using PowerShell on Linux

Personally, I run PowerShell on my Windows 11 laptop, but I also have Linux VMs and use PowerShell on those too. In this blog post, I will show you two ways in which you can install PowerShell on your Linux machine and yes, I know... There are different Linux Operating Systems with different package managers, in my case I used Ubuntu 22.04 🙂

Import Exchange Relay Connector IP-Addresses to IIS SMTP instance

For one of our customers, who's moving away from their On-Premise Exchange 2016 server, I needed to move all the relay connectors (Used by legacy applications, appliances, and hardware) to an IIS SMTP instance. Pretty straightforward, but typing the long list of addresses myself... No 🙂 In this blog post, I will show you a way to easily migrate the IP-Addresses from a Receive Connector into an IIS SMTP instance.

Retrieve all local group members of Active Directory member servers

For one of our customers, we needed a report on all local groups and their members on all Active Directory joined servers. You can connect all servers one by one with Computer Management and check, but hey... PowerShell is there for you 🙂 In this blog post, I will show you an easy way to get a report on the memberships, and yes... I used the ImportExcel module too (Needed for the Export-Excel cmdlet) 😀

Using PSScriptAnalyzer to optimize your PowerShell scripts

I use Visual Studio Code for writing PowerShell scripts, which makes formatting and writing so much easier. Even though it shows you things that you shouldn't do, for example using aliases, you can get even more tips and hints to make your code even better. This blog post will show you how to use the PSScriptAnalyzer module which can give you some additional hints that Visual Studio Code doesn't show you.

101 Stars, 10 Watching and 10 Forks

It's been a busy week, working and watching some Ignite sessions 🙂 But I just wanted to thank everyone who Starred, is watching or forking my GitHub repository! Nice to see that you're interested in the things that I post, I like sharing PowerShell-related things and giving back to the community. Have a nice weekend!

Reconfigure Hyper-V External switch to the correct Network Adapter

If you use Hyper-V on your laptop, then you will probably recognize this... You worked at home, go to the Office and use the Wi-Fi there instead of the wired connection at home. You boot your VM and... No network?! *sigh* And you have to change the External Switch again in your Hyper-V configuration. In this blog post, I will show you a way to change it automatically using PowerShell.