Active Directory users log on with their logon names and password. But what are the rules for assigning usernames? g.surname? surname? gsurname? What are the naming conventions? This article looks for and […]
PowerShell: How to configure a custom PSSessionconfiguration
A remote session can be set up with the help of PSSession. The predefined remote session is used by default. However, we can also create our own session configurations and then connect […]
PowerShell: (Parameter) Splatting explained
It often happens that you have many, many parameters in PowerShell. The command then extends over several lines. That doesn’t look pretty. In this article, I will show you how to summarize […]
Active Directory: How to perform an Offline Domain Join
What sounds strange actually works. An offline domain join. Why do you need an offline domain join? Maybe you want to order a completely finished PC from your supplier, which is already […]
Active Directory: How to retrieve the Domain SID
Recently I needed the domain SID to configure MFA with a 3rd party tool. Where can I get the domain SID? That’s exactly what I will show in this blog post. Let’s […]
Active Directory: List all Network Shares from all Windows Servers
In today’s blog post I show how to retrieve all network shares from all servers in an Active Directory domain to get a nice list in the output. This script is used […]
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 […]
Monitoring Logon Attempts in Active Directory with PowerShell
Domain-Controllers monitor successful logon attempts by default. All events of all login attempts are logged in the Event Viewer. In this article I will cover how to monitor all logon events with […]
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 […]
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
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 […]
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 […]
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? […]



