In this series to access nested ESXi lab I need a Jump Server, which I will setup one using this PowerCLI script, Below is the output for it. This Jump server Windows VM is deployed using existing template. It is customized using specs, IP assigned, Added two network adapters one in LAN and another …
Blog posts
Part 2 Nested ESXi Networking with VyOS Virtual Router: A Step-by-Step Guide
This article will focus configuring VLANs in my VMware ESXi home lab. Before creating nested ESXi servers I wanted real VLANs to be used for NSX-T lab. For VLANs inside nested ESXi I can easily achieve it using VyOS virtual router virtual machines. [There are other VyOS virtual routers alternatives …
Part 1 How to Build a Nested ESXi Lab: The Ultimate Networking Guide
While building nested VMware virtualization lab, I wanted to use VLANs in the nested ESXi networking. In my lab I have only single physical ESXi server. For nested ESXi VM, passing VLAN directly from physical network was not an option for me due to limited access to physical switch and router. To ta…
How to SCP to a vCenter Server Appliance (VCSA)
In this article I will explore how to SCP to vCenter Server Appliance (VCSA). In the first approach I tried simple scp command to transfer file to or from vCenter Server. After running command I was receiving below error.
Note : Make sure SSH shell is enabled on VMware vCenter Server.
sc…
Automating Windows VM Cloning and sysprep on Nutanix with PowerShell
One of my friend asked for a PowerShell script for Nutanix Windows virtual machine cloning and configuration. This PowerShell script automates the process of cloning virtual machines and joining them to a domain. It uses the Nutanix PowerShell module to interact with the Nutanix cluster and clone vi…
Reducing Password Complexity and History in Linux VMware for Lab Testing Purposes
I day to day work in my Lab. While working on my Linux / VMware / vSphere lab I always encounter frequent password resets, password not accepted because of dictionary check and old password history. Whenever I want to do quick labs. password resets take enormous time, for this reason I use below set…
Parallel Ping and Port Testing in PowerShell Using Runspaces
In this article, I demonstrate how to test network connectivity for a list of computer names or IP addresses using PowerShell. Each target system is tested for ICMP reachability (ping) and TCP connectivity on port 445, which is commonly used for SMB.
The core logic is implemented in a custom func…
A Step-by-Step Guide to Using Enter-AzVM for Remote Administration Over SSH
I will explore Enter-AzVM cmdlet in this blog article which is a part of az.ssh module and establishes a connection over SSH port 22. In this article I will show how to setup windows server to accept SSH connection. Before you start, make sure you've using below commands.:
- Installed OpenSSH Se…
How to Run PowerShell Commands on Azure VMs Remotely
In this article I will explore running commands remotely on Azure VM without login and this doesn't require full RDP session. This is very useful feature if some information need to fetched or any configuration need to be done without much efforts. If you check on Azure portal navigate to Virtual Ma…
Get PowerShell Cmdlet Parameter Enum Values Easily
Enumeration is the action of mentioning a number of things one by one, often to count them or describe them but it has specific meanings in computer science, data types like enum for named constants.
In the PowerShell to list the enumeration information for a parameter, you will need to use elem…
Automating Linux VM Cloning and IP Configuration on Nutanix with PowerShell
This simple PowerShell script clones Nutanix Linux virtual machines. To use this script, first download and install the PowerShell cmdlets from Nutanix Prism Central. You can find the installed plugin folder under C:\Program Files(x86)\Nutanix folder. From there you can load plugins.
After in…
PowerShell File Renaming: How to Reorder Files Sequentially Using a CSV Map
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…
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… |
PowerShell PSRemoting Fix: Bypassing "Access is Denied" for Privileged Admin Commands
While working with PowerShell Remoting (PSRemoting), I was able to successfully connect to a remote machine using Enter-PSSession, but any administrative command—such as resetting the local Administrator password—failed with:
System error 5 has occurred.
Access is denied.
Even though the …
PowerShell Remoting Access is Denied: How to Fix PSRemoting for Administrators Group Accounts
After successfully configuring Microsoft PowerShell PSRemoting, I was able to login with local Administrator user without any issue. But after creating another user, adding it to Administrators group then logging with it was throwing error message of Access is denied.
PS VM02 > Enter-PSSess…
Bypass the Domain Wall: How to Enable PSRemoting WinRM in a Workgroup Environment
This is very simple and easy instructions to configure PowerShell PSRemoting WinRM on Windows system which is not joined into domain (Basically they are in workgroup). On the the first system login and and open PowerShell as administrator and Run below commands to configure PowerShell Remoting.
Broadcom PowerCLI: Building a GUI to Check VMware HA Admission Control Compliance
This PowerCLI GUI script I have written to audit VMware ESXi clusters high availability (HA) inside vCenter Server. This script validates below ideal configuration is defined on the cluster and tells me whether configuration is correct with green tick and non-compliant with red cross.
Note: This …
The PowerShell Sorting Trap: Why 10 Always Comes Before 2 in Your CSV Data
When sorting CSV data with PowerShell, I observed unexpected results, as shown in the screenshot below. The initial command, Import-Csv C:\Temp\Numberings.csv, shows that the numbers in the CSV are out of sequence. To sort these numbers, I used the simple pipeline command Sort-Object specifying the
Blog Search
Page Views
1 4 6 7 6 7 6 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



