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 […]
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 […]
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. […]
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 […]
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 […]
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 […]
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 […]
How to implement your PowerShell 7 Scripts in Task Scheduler
So you’re already working with the latest PowerShell version and wondering how to automate your PowerShell 7 scripts with the task scheduler? Yes? Ok, then stay tuned I will show you two […]
Using winget with PowerShell to install Software remotely
In this blog post I will carry out how to remotely install software on a domain-joined Windows 11 client. Winget is a command line tool that provides a lot of different options […]
Neuer Udemy Kurs: Active Directory mit Microsoft Exchange Server 2019 (DE)
Liebe FollowerInnen! Wenn Du Interesse an Active Directory und Exchange hast, dann kannst Du mit diesem Gutschein-Link meinen neuen Udemy Kurs buchen und diesen 30 Tage lang testen. Anbei der Link mit […]
Active Directory: Find orphaned (unused) User Accounts with PowerShell
This short blog post will show you how you can find orphaned user accounts in Active Directory that may no longer be in use. Let’s go. Code Here is an example screen […]
Active Directory: Find users based on Attributes and add them to a Group with PowerShell
Active Directory objects are usually stored in organizational units. Sometimes these organizational units don’t refer to the site where the users work. The goal for this article is to retrieve these users […]
PowerShell: Zip multiple Folder or Files at once with Compress-Archive
Compressing files is a common task. For saving time, you can use PowerShell to automate the compression process. In this blog post I will show you how to compress multiple folders at […]
Active Directory | Azure AD | Microsoft 365 Hybrid: Change UPN Suffix for all On-Premise Users (Bulk)
In a hybrid environment, it makes sense to configure an alternate UPN suffix so that users are not created in Azure AD with the username *.onmicrosoft.com. In this post, I provide a […]



