Yearly Archives: 2020

Delete Empty Folders with Powershell Recursively

In this blog, I’d like to show you the little one-liner powershell code that will delete empty folders recursively.  Note: Even if there is a single file in the child nested folder, it will exclude the parent path from deletion.

Posted in Powershell | Leave a comment

Make a read-able windows DNS debug log file

Normally we turn on the DNS debugging to find out the source client IP addresses and the queried records. And, here is the script that will covert the DNS Debug Log file into a more flexible csv format, though you … Continue reading

Posted in DNS, Powershell | Leave a comment

Lockup Domain User in Specific Computer and Escalate Permissions

Sometimes, you will need to give some domain users (may be the desktop support) Network Configuration Operators role or even Local Administrator permissions on specific client machines so that they can fix something with the elevated permissions.  You can do … Continue reading

Posted in Active Directory, Powershell | Leave a comment

VMware Network Portgroup Connectivity Check with Circular VM vMotion

Now, it’s a blogging time. Here is the little script that you can use to check the network connectivity of each portgroup in your vmware environment, which can also be used to determine if the portgroups or physical uplink (backing … Continue reading

Posted in PowerCLI, VMware | Leave a comment