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 […]
Neuer Udemy Kurs: Active Directory und Azure AD mit PowerShell administrieren
Liebe Follower! Ein neuer Kurs ist online: Active Directory und Azure AD mit PowerShell administrieren Link: https://www.udemy.com/course/active-directory-und-azure-ad-mit-powershell-administrieren/?referralCode=31E09966C06FF60D82C6 Ich freue mich über zahlreiche Teilnahme! Liebe Grüße, P. Gruenauer
Neuer Udemy Kurs: Einführung in Active Directory Zertifikatsdienste
Liebe Follower! Mein neuer Kurs ist auf Udemy online. Anbei der Link: https://www.udemy.com/course/einfuhrung-in-active-directory-zertifikatsdienste/?referralCode=E0A9F8AEE6827760F802 Vielleicht hat der eine oder andere Interesse an einem Video Kurs über Zertifikatsdienste. Ich würde mich freuen. Liebe Grüße, […]
Neuer Udemy Kurs: Microsoft Windows Server für Einsteiger
Liebe Follower! Mein neuer Kurs für Windows Server Einsteiger ist online. Ich würde mich freuen wenn Sie vorbeischauen um Windows Server von Grund auf zu Lernen. Liebe Grüße, Patrick Grünauer Link: https://www.udemy.com/course/microsoft-windows-server-fur-einsteiger/?referralCode=2D6A3471E37178BF484A
How to create a NAT-Switch on Hyper-V with PowerShell
NAT is a technology to convert IP addresses. If you have a test environment then it might be necessary that your VMs need an internet connection and that you don’t want to […]
Test-Environment: Building an Active Directory OU structure with Groups and Users with PowerShell Automation
You have just started learning something new and you are now about to bulid up a test environment with Windows Server ? For a good test environment, you will need a Domain-Controller […]
Enable Remote Desktop remotely with PowerShell (Enable-RemoteDesktop)
Forgot to enable remote desktop? This is bad. The only solution is to go back to the remote computer and then enable RD. Not really. In this blog post I will show […]
PowerShell: Import Active Directory Users from CSV
Comma separated files are widely used when it comes to bulk import or export of data. In this blog post I will provide a sample script to import Active Directory users from […]
Windows: Find and eliminate Duplicate Files with PowerShell
We are living in a big data world which is both a blessing and a curse. Big data usually means a huge number of files such as photos and videos and finally […]
List all Server Roles from all Windows Servers with PowerShell
So you are about to document your network and os environment? You don’t want to purchase 3rd party software? You want to list all server roles from all servers in your network? […]
PowerShell 7: Foreach-Object -Parallel
With PowerShell 7 a new feature was introduced: Foreach-Object -Parallel. The parallel feature will speed up loops in PowerShell. In this blog post I will compare the old technique with the new […]
Test-Connection (ping) with PowerShell 7
In one of my previous articles I dedicated myself to the modern version of ping called Test-Connection. I recently discovered that the cmdlet in PowerShell Core 7 offers more parameters than in […]
Active Directory: Changing Default Password and Lockout Policies
Default Domain Policy password policies determine the complexity and minimum length of Active Directory domain passwords. Because the preconfigured default settings are suboptimal, many administrators decide to change the default policy settings. […]
PowerShell: Get Last Domain Logon with Get-ADUserLastLogon
The function covered in this blog post is part of my Active Directory Domain Services Section tool, which has been published in 2018. After some time, I decided to create an explicit […]



