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 […]
Patrick Gruenauer
Microsoft MVP on PowerShell & Microsoft 365, IT-Trainer, IT-Consultant, MCSE: Cloud Platform and Infrastructure, Cisco Certified Academy Instructor.
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 […]
PowerShell 7: Enable SSH Remoting
With Powershell 7, we can enable and use SSH Remoting. Unlike WinRM, SSH is more popular because it is a more familiar technology and is also available on other platforms. In this […]
Neuer Udemy Kurs: PowerShell 7 für Einsteiger und Profis
Liebe FollowerInnen! Ein neuer 15-stündiger Kurs ist online: PowerShell 7 : Master Class für Einsteiger und Profis Wenn Sie sich für PowerShell interessieren, dann können Sie einen Blick in die Vorschauvideos werfen. […]
PowerShell QR Code Generator for WIFI Networks
If you use QR codes instead of passwords, you increase the user experience. Did you know that you can create such a QR code with PowerShell without any 3rd party tools? No? […]
List all logged on Users with quser.exe and PowerShell
In this short article I will show how to list all logged on local users with the quser.exe tool. Quser displays information about logged on users on the local computer and on […]
Monitor Network Connectivity with PowerShell 7 (Successful Pings)
Recently, I have created a script that returns a beep sound when the connection is re-established. I would like to share this script here on my website. Assume your network connectivity is […]
Exchange: How to export Mailboxes to PST Files
Today I will show you how to export Mailboxes from an Exchange Server to a single PST file. This blog post applies only to On-Premise Exchange Servers. By default, it’s currently not […]



