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 ๐Ÿ˜‰ This blog post will show you an easy way to create a report without extra tools.

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 easily ๐Ÿ™‚

Create a TCP/UDP port listener using PowerShell

One of our customers is securing his network, and firewall changes were made that needed to be tested. In this case, the new servers were not yet deployed in that specific network. But... We did want to test the connections before deploying the servers ๐Ÿ™‚ In this blog post, I will show you how to create listening ports on a machine to test the connection from another network using netcat on Linux or portqry on Windows.

Jupyter notebooks in VSCode with PowerShell support

Saw a video about Jupyter in Visual Studio Code a while back, tried to get it up and running, and... It seems that things are changed now. It was there in VSCode preview versions and the PowerShell preview extension. All the How-To's I found showed me that way of getting it installed/configured. So I played around with Jupyter and the PowerShell kernel installation and got it working in VSCode. In this blog post, I will show you how to install and configure everything ๐Ÿ™‚