Menu

Virtual Geek

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

Blog posts

How to PowerCLI VMware Snapshots Virtual Machines disks consolidation is needed

In earlier part Solved: VMware Snapshots Virtual Machines disks consolidation is needed I performed steps on vCenter Portal GUI. Here I will use VMware PowerCLI to perform the same steps to automate it. 

First step is to connect to vCenter server using command Connect-VIServer. Use below comm…

Read more

Solved: VMware Snapshots Virtual Machines disks consolidation is needed

I was cleaning up some datastore data due to storage space low. I found there were few old long snapshots exist on VMs. After deleting those old snapshots from VMware Virtual Machines I was seeing warning and information message on summary page Virtual machine disks consolidation is needed status

Read more

Update offline bundle zip on standalone ESXi host using commandline without vCenter

This is a step by step procedure to update offline bundle zip on standalone ESXi host using command line without vCenter. I was updating few of my VMware ESXi servers in my home Lab environment. There were few ESXi hosts in the lab were standalone and not connected to any vCenter server. On the stan…

Read more

PowerShell WPF Mouse cursor tracker

Currently I am working on a PowerShell GUI project where I need to track Mouse Cursor. In this article this is a sample code to track Mouse Cursor. As you move mouse on GUI console, it shows the position of mouse.

In this sample code it uses MouseMove event and Windows.Input.Mouse position…

Read more

PowerShell HTML Server Racks Cabinet Live Diagram maker Demo

This is test code I built to create dynamic Server / Racks cabinet live diagram on HTML as frontend from provided input inside Excel CSV using PowerShell script. I am still working on the code, whatever code I have worked so far I am posting it online. Basically after generating Diagram on HTML webp…

Read more

Update ESXi servers in VMware Cluster using vCenter Lifecycle Manager

It is best practice to keep you ESXi server up to date to keep server out of vulnerabilities and issue. Patching helps to resolve new upcoming CVE's and keep server compliant in security team's report. In this article I will update entire cluster using VMware Lifecycle Manager in vCenter server 8…

Read more

Build custom ESXi image using VMware Image Builder

In this article I will show how use VMware Image Builder to customize and create ESXi ISO images. 

VMware Image Builder is a powerful functionality within vCenter Server that enables the packaging, validation, and distribution of ESXi OS ISO/Zip software images across various platforms within an…

Read more

Bulk change multiple file names with OneLiner PowerShell command

This is a one liner PowerShell script to change multiple files names in bulk. In this below given example I had multiple png images. I will take one file name Button_Icon_Black.png as an example. I wanted to just keep the name of the file with the Black.png (color name). Using below command you can…

Read more

Modernizing Data Administration: BDRSuite v5.6.0 U1 Introductions with Exciting Enhancements!

This section discovers the exciting new updates, BDRSuite v5.6.0 Update and BDRSuite v5.6.0 Update 1, emphasizing the major enrichments and advances they bring to organizations and businesses. Whether you are qualified as an IT professional, a system administrator, or just there is an intent in info…

Read more

PowerShell HTML based Live Ping Monitor Demo

This is small demo where I combined PowerShell + HTML to create a dashboard report for ping. Basically what it does is?  when you put some servers entries in Pinglist.txt file which you want to ping and start a PowerShell Get_PingData.ps1 script. It shows the Live Dashboard on HTML web page as per…

Read more

PowerShell WPF XAML multibinding datacontext template example - Part 4

DevOps Part 1.2 SCM Git - Create Virtual Network (vNET) in Microsoft Azure

In my earlier part of this DevOps series DevOps Part 1.1 SCM Git - Create Resource Group in Microsoft Azure, I created first Azure resource - an empty Resource Group. In this example I am going to create vNET (Virtual Network) in this resource group.

An essential part of your private network inf…

Read more

PowerShell WPF XAML DataGrid control databinding datacontext example - Part 3

Earlier I wrote two articles regarding PowerShell WPF for DataBinding examples. In this article I will be using DataBinding to use with DataGrid control.

PowerShell WPF XAML simple data binding datacontext example - Part 1
PowerShell WPF XAML control to control data binding datacontext example…

Read more

PowerShell WPF XAML control to control data binding datacontext example - Part 2

This is a part 2 of PowerShell WPF XAML simple data binding datacontext example - Part 1. Here I will configure control to control data binding context in WPF XAML. In this example I am using Slider and TextBox controls to show example. Here if I change Slider it should update its value on TextBox …

Read more

PowerShell WPF XAML simple data binding datacontext example - Part 1

Windows Presentation Foundation (WPF) provides a simple and consistent way for applications to present and interact with data by binding elements to data from different kinds of data sources in the form of .NET objects and XML.

Here in this example I will show how to create simple WPF binding usi…

Read more

Securely Encrypt and Decrypt password with PowerShell GUI tool

This GUI tool is written using PowerShell and it helps encrypt given password and then decrypts that text to Password back. My colleague schedules PowerShell scripts a lot. Generally as best practice they do not use clear text password in their scripts. Instead they wanted to keep it in the encrypte…

Read more

DevOps Part 1.1 SCM Git - Create Resource Group in Microsoft Azure

This will be multipart article series on DevOps. In this part I am going to configure SCM git (Source control) and push my code to centralized repository on Github.com. For this first I need a system where I will complete all my DevOps Labs configuration and use it as a workstation. I will create a …

Read more

Part 3: Using HashiCorp Packer to build a Windows Server VM template for VMware vSphere

HashiCorp Packer.exe is an open source tool for building identical Virtual machine golden images for various platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly efficient, creating Master/Base machine images for several platforms i…

Read more

Part 2: Configure IIS server to allow download .ISO files

This is a part 2 of my Part 1 article Inject and install VMware Tools During Install by modifying Microsoft Windows ISO. I will use this IIS server setup in the Hashcorp Packer.exe configuration to create VMware Microsoft Windows VM Template on vCenter server. 

Here I will configure IIS (Inter…

Read more

Inject and install VMware Tools During Install by modifying Microsoft Windows ISO

I wrote this article as a first part of a Configuring and creating VMWare virtual machine template using HashiCorp Packer.exe. While automating and installing unattended Microsoft Windows VM template on VMWare vCenter Server using packer I was facing few challenges such as it was getting stuck and f…

Read more

20 blog posts

Blog Search

Page Views

11358203

Follow me on Blogarama