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 […]
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 […]
PowerShell: How to find Special Characters in a String
Sometimes special characters are a nuisance. If you are trying to create some user accounts in on-premise or cloud environments, you should avoid special characters in usernames. In this blog post I […]
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 […]
PowerShell Security: How to enable the Constrained Mode
In this blog post I am going to show you how to enable the PowerShell Constrained Mode. What is the Constrained Mode? Microsoft explains this as follows: The ConstrainedLanguage mode permits all cmdlets and […]



