Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts January 2026

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 …

Read more

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…

Read more

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.

PowerShell terminal showing a VMware vCenter Server 8.0 SCP error: 'Received message too long' and 'Ensure the remote shell produces no output for non-interactive sessions'

sc…

Read more

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…

Read more

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…

Read more

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…

Read more

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.:

  1. Installed OpenSSH Se…

Read more

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…

Read more

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…

Read more

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.

A screenshot of the Nutanix Prism Central web interface dropdown menu under the help icon. The menu highlights options for 'Download Cmdlets' and 'Download nCLI' in a red box, along with links for Update Profile, REST API Explorer powershell, and Sign Out.

After in…

Read more

10 blog posts

Blog Search

Page Views

1 4 2 2 8 6 2 9

Archive

Follow me on Blogarama