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 […]
Patrick Gruenauer
Microsoft MVP on PowerShell & Microsoft 365, IT-Trainer, IT-Consultant, MCSE: Cloud Platform and Infrastructure, Cisco Certified Academy Instructor.
Neuer YouTube Kanal [DE]
Liebe FollowerInnen! Auf meinem neuen YouTube Kanal werde ich wöchentlich Videos zu den Themen Cloud, PowerShell, Windows Server, Netzwerktechnik, Security und vieles mehr veröffentlichen. Sprache ist Deutsch. Hier gehts zum Kanal: https://www.youtube.com/@patrickgruenauer […]
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: Error Handling with $Error
The $Error Variable in PowerShell contains all error objects of the current session. In this blog post I will carry out some tasks with $Error and show you how $Error can help […]
Neuer Udemy Kurs um EUR 9,99,– | Switches und Switching für Einsteiger [DE]
Liebe Follower! Ein neuer Udemy Kurs ist online und kann in Aktion um EUR 9,99,– (gültig bis 22.09.2023). Falls das Thema bei euch Interesse findet, dann lohnt sich ein Blick in die […]
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 […]
Microsoft Office 365: How to restore deleted Items in Exchange Online
A user has unintentionally deleted objects in Outlook. This can be e-mails or even meetings. The bad news is that the user can no longer access these objects. The good news: We […]
Microsoft Office 365: How to disable the automatic creation of Online Meetings in Outlook
In this blog post I will show how to disable the automatic creation of an online meeting in Outlook. The default behavior is the following: When a user creates a meeting, then […]
PowerShell Execution Policy: Unblock Files | Security Zones
PowerShell’s execution policy is a safety feature that controls the conditions under which PowerShell loads configuration files and runs scripts. This feature helps prevent the execution of malicious scripts. https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.2 Well, this […]
PowerShell: Playing with Background Jobs
In this blog post, I’d like to give you a few examples related to PowerShell Background Jobs to build upon. Let’s jump in. Let’s say I want to ping a few computers. […]
Measure Link Speed (Bandwith) with PowerShell
Recently I have been working on a script which should check the download speed. With PowerShell of course. I would like to share it here. The Code Here is my code for […]
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 […]
PowerShell: Comparing two Objects with Compare-Object
In this short blog post, I will show you how to compare two PowerShell objects to find differences between them. I will also give you an example on how to create objects […]
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 […]



