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.
Month: October 2022
Using PowerShell on Linux
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 to 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. It's pretty straightforward, but... Adding the long list of addresses myself... No 🙂 In this blog post, I will show you how 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, luckily, 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 Microsoft 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 I post. I like sharing PowerShell-related things and giving back to the community. Have a lovely weekend!
Reconfigure Hyper-V External switch to the correct Network Adapter
If you use Hyper-V on your laptop, you will probably recognize this... You work at home, go to the Office and use Wi-Fi instead of the wired connection at home. You boot your VM, and... No network?! *sigh* You must change the External Switch again in your Hyper-V configuration. In this blog post, I will show you how to change it automatically using PowerShell.
Favorite PowerShell modules that I use
During the course of time, you add modules to your system, some are crucial for the things you work on and some were used only once 😉 In this blog post, I will show you my current list of modules and tell you why I use(d) them...