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 […]
PowerShell: Search for Empty Folders (and delete them)
We live in times of Big Data. Too much data in too short a time. You may have empty folders in your environment and if you want to search for them and […]
PowerShell: List and document all Hyper-V VMs with the most important properties
So you have multiple Hyper-V VMs and may have lost track of them. In this post I will show you how to retrieve all Hyper-V VMs with the most important properties and […]
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 […]
PowerShell: Copy File to multiple (all) Hyper-V VMs
In this post, I’ll show you how to copy one or more files to all VMs in Hyper-V. I would say: Let’s get started. Prerequisites To copy files, guest services must be […]
PowerShell: Retrieve and document all Hyper-V VMs
In this post I will show how to retrieve all Hyper-V VMs and save the output. This is especially helpful if you want to bring an overview into your chaos. Let’s dive […]
PowerShell: Search and delete empty Folders
Big Data? Pain? Looking for empty folders and want to delete them? In this post I show you how to proceed to find and delete empty folders. Open PowerShell, ISE or VS […]
Administering Windows Defender with PowerShell
In this article, I will focus on Microsoft Defender. I will give you a few examples that you can build on. It’s not about doing wonderful things, it’s about basics. Let’s jump […]
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 […]
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 […]