Network Connection Notify Tool is Released

It will check the connection continuously at specified intervals and notify users with voice or desktop notification if the connection change is detected. If you don’t know how to set the Tiebreaker or Interval, you can just use Check Type template dropdown. Alternatively, you can use this as a network port probing tool to continuously monitor the listening port.

If you want to start quickly, get a packaged 64-bit version from GitHub. The voice type, speed, volume, notification message can be customized, with the logging option available.

Continue reading
Posted in Powershell, Scripting House's Apps | Leave a comment

Send keystrokes of the clipboard contents with AutoHotkey

I have seen many times where I cannot paste the text in the remote login session due to the policy of clipboard restriction. And, here is the little Auto Hotkey script that can automatically type whatever the clipboard has. Save the following line of code in notepad with .ahk extension and run the script in the background. Make sure AutoHotkey program is installed in your computer first. Or you can compile the script into executable file to use in other computers where AutoHotkey is not installed. See Fig-1.

Continue reading
Posted in AutoHotKey | Leave a comment

PyQt5: Get Windows Service with Start/Stop Compliant Status

I do some learning in python GUI programming in PyQt5 a few weeks ago to do some useful utility tools. And, here is my very first application to check windows services compliant check based on service status and startup type. I have compile as single windows executable with pyinstaller with the following command.

Continue reading
Posted in Python, Scripting House's Apps | Leave a comment

Check or Verify Esxi Credentials on Multiple Esxi Hosts

There are times that you will need to check if esxi credentials are correct & consistent across the multiple hosts, and this PowerCLI script will save your time a lot. It uses TCP port 443 so it takes a bit longer than using ssh, but the good thing is you do not need to open port 22 from your client. The process is quite simple Continue reading

Posted in PowerCLI, VMware | Leave a comment

PowerCLI to set Evacuated Esxi Hosts into Maintenance Mode

It’s the little script that will set all esxi hosts into maintenance mode when no VMs are left running, particularly useful when you’re doing the bulk VMs migration or shutdown for Esxi maintenance. Continue reading

Posted in PowerCLI, VMware | Leave a comment

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. Continue reading

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 will have to rename the file to .csv if needed. New lines, whitespace and header information will be ignored during conversion. The script supports DNS Debug log of Server 2012, 2016 and 2019 (not tested on Server 2008 and if you can do it successfully, please comment). This script should not be run on Domain Controllers/DNS Servers as it consumes certain amount of processing power. 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 this by simply adding these users into the necessary local security groups on these machines.
Nope! it’s a boring day-to-day task and what if you forget to remove these permissions later ? 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 the vswitch) has the desired vlan access for the multiple exsi hosts.

This script will output the the VM’s ICMP Ping status after making vMotion to each host within the current vmware cluster (where the VM resides) or any clusters. Continue reading

Posted in PowerCLI, VMware | Leave a comment

Find the Missing/Mismatch or Duplicate DNS Forward and Reverse Records

I recently need to check the DNS records for one of my customer’s DNS server. It’s more than 500+ records to verify that the ‘A’ and ‘PTR’ records are updated properly and which records are missing. Most of the online scripts I found only check for single PTR records. So finally, I need to get my hands dirty, spending a few hours in powershell to make a script the can verify the relationship between forward and reverse records in local or remote DNS servers. Continue reading

Posted in DNS, Powershell | 1 Comment