In this short blog post, I will show you how to compare two PowerShell objects to find differences between them. I will also give you an example on how to create objects […]
Patrick Gruenauer
Microsoft MVP on PowerShell & Microsoft 365, IT-Trainer, IT-Consultant, MCSE: Cloud Platform and Infrastructure, Cisco Certified Academy Instructor.
Documenting all GPOs with PowerShell
Active Directory Group Policies (GPO) enables you to control user and computer settings. It is important to document them. In this blog post I am going to show you two PowerShell commands […]
PowerShell: How to find Special Characters in a String
Sometimes special characters are a nuisance. If you are trying to create some user accounts in on-premise or cloud environments, you should avoid special characters in usernames. In this blog post I […]
[DE] Alle Udemy Kurse um EUR 9,99,–
Liebe Follower! ALLE meine Udemy Kurse sind derzeit mit einem Gutscheincode zum Preis von EUR 9,99,– in Aktion. Preis: EUR 9,99,– Gutscheincode: COUPON-APRIL Code gültig bis 09.04.2023 (5 Tage) Zu allen Kursen […]
How to install Windows Terminal on Windows Server 2022
Only Microsoft knows why Windows Terminal is only available on client OS. But there is a way out. We can install Windows Terminal also on Windows Server via PowerShell. The disadvantage is […]
PowerShell Security: How to enable the Constrained Mode
In this blog post I am going to show you how to enable the PowerShell Constrained Mode. What is the Constrained Mode? Microsoft explains this as follows: The ConstrainedLanguage mode permits all cmdlets and […]
PowerShell: Enabling Strict Mode
PowerShell is very forgiving of errors. For example, if you call something that does not exist, then no error message is displayed. In this short article I want to show you how […]
Monitor Local User Logons on Windows Operating Systems
User Logons on Microsoft Windows operating systems are called Logon Events. In this short blog post I will show you a PowerShell One-Liner which retrieves all user logons of a particular user. […]
PowerShell: Enumeration with the Enum Statement
The enum statement can be used to declare an enumeration. Microsoft describes this statement as follows: The enum statement allows you to create a strongly typed set of labels. That enumeration can be used […]
Empty the Recycle Bin with PowerShell and the Task Scheduler
In this post I will show you how to empty the recycle bin automatically. For this I will use PowerShell and Scheduled PowerShell Jobs. So I will show two ways how to […]
How to create a PowerShell Module with multiple Functions
In this blog post, I will show you how to create a module with multiple functions using an example. You will see that this is not rocket science. Let’s jump in. In […]
Create multiple DNS A Records with PowerShell
Imagine you have to create hundreds or thousands of DNS records. Do you want to do that one by one? Surely not. I will show you an example how to create Beamer01 […]
Configure DHCP-Server-Role with PowerShell
The Dynamic Host Control Protocol (DHCP) helps you manage your network by automatically assigning IP-Adresses to hosts. In this article I will show you how to configure a DHCP Server with a […]
PowerShell: Creating functions that accept Pipeline Input
So you have already created a function and now you want to enable pipeline functionality? Yes? Then read on. In this blog post I will show you an example on how to […]
5 Ways to install PowerShell 7 on Windows
PowerShell 7 is the successor to PowerShell 5.1. It’s fast, reliable and it is cross-platform. Without a doubt, PowerShell 7 is the future. You can install PowerShell 7 on Windows, Linux and […]



