Create a report on local DNS lookups using PowerShell

When troubleshooting a system, you sometimes need to know what DNS lookups are being done. This will give you a good insight into traffic from the systems to the local network or internet. You can do this with DNS auditing on your Windows server or in your local Pihole server, but that's not always available … Continue reading Create a report on local DNS lookups using PowerShell

Deploy a Hyper-V VM and register it for Autopilot automatically using PowerShell

For Endpoint Manager testing I need a VM connected to the tenant of the customer. This involves deploying a Windows 10 or 11 VM, changing hardware settings on it (Secure Boot/TPM/Checkpoint settings), and registering it for Autopilot. This blog post will show you how to automate the process as much as possible.

Report on Active Directory Container permissions using PowerShell

In a previous blog post (Link), I showed a way to create a report on OU (Organizational Unit) permissions. One of the replies I got about that was: How about the Container permissions, those are important too 🙂 And that's correct, they are! In this blog post, I will show you how to create a report on those (Script is based on the OU report)

Compact Hyper-V VHDX files using PowerShell

I used VMware Workstation for a while which has an option to automatically compact the virtual hard disk after shutting down the VM, an excellent way of freeing up space on my laptop hard drive. But I switched to using only Hyper-V now, compacting virtual hard disks is not something you can enable in Hyper-V to run automatically. In this blog post, I will show you how to do this using a script that you can use to do that in an easy way 🙂