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
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 […]
Create Hyper-V VMs with PowerShell (Single, Multiple)

In case you have Hyper-V in use, then you are in the right place. In this blog post I will show you how to create VMs in Hyper-V. I will also 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 […]
PowerShell: Creating Event Entries with Write-EventLog for Monitoring Purposes

Did you know that you can easily write something to the event log? For example, if you try something and it didn’t work then you can use the event log for monitoring. […]
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? […]
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 […]
PowerShell: Endless Ping with Test-Connection (Test-Endless)

If you look up how a ping can be done endlessly with Test-Connection, you will usually find solution with a while loop or something else complicated. The dilemma is that ping provides […]
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 […]
PowerShell: Retrieve List of Domain-Computers by Operating System

As an administrator, you should have an overview of your Active Directory environment. Of course, this also includes user and computer accounts . In this blog post I will carry out some […]
Top 10 built-in MMC Consoles (msc) and Control Panel files (cpl) in Windows 10 and Windows Server

I am used to working with built-in MMC consoles and control panel files. I know most of them by heart. I always tell my students to remember the most common ones in […]
Microsoft Azure: How to exclude VMs from the Auto Start-Stop schedule with PowerShell

Last weekend I successfully created an automation account in Azure to auto start-stop my Azure VMs as described here: Start/Stop VMs during off-hours solution in Azure Automation. Right after that I realized […]