I recently received a task to rename a bunch of files by changing their numbering in the filename while working on a PowerShell DevOps project. I had multiple Markdown files with numbers at the start of their names, and I needed to change these numbers with the filename based on a mentioned in CSV f…
Blog posts December 2025
High-Performance Network Auditing: Custom Ping and TCP Port Testing in PowerShell .Net Objects
This article dives into the Test-TcpPort function, a compact script that resolves hostnames to IPs, pings for basic reachability, and tests port connectivity with a timeout. I will break down its mechanics in short. At its core, Test-TcpPort leverages .NET's System.Net and System.Net.Sockets namespa…
Building a Unified Ping and Port Connectivity Report with PowerShell
In this article, I will explore two PowerShell scripts that test network connectivity (Ping) and port availability (Port Query) on multiple computers. I will discuss the scripts, their differences, and how to use them effectively. First Script is used for Synchronous Network Testing. The first scrip…
A Smart Bash Script to Reset Remote User Passwords — With Automatic Sudo Mode Detection
I had a requirement to reset some user password on Linux remotely, below is the simple script which helps to reset password locally, it uses simple passwd command. Save below file as reset_password.sh.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18… |
Blog Search
Page Views
1 4 6 1 6 3 9 4
Archive
- May 2026 (1)
- January 2026 (10)
- December 2025 (4)
- November 2025 (3)
- October 2025 (3)
- September 2025 (4)
- August 2025 (11)
- July 2025 (8)
- June 2025 (8)
- May 2025 (5)
Comments
-
NeilAugust 8, 2025 05:23PM
-
AzraelJanuary 28, 2025 01:28AM
-
raghavendraJanuary 16, 2025 02:13PM
-
jose antonioJanuary 11, 2025 09:53PM
-
DanDecember 22, 2024 10:49PM
