Menu

Virtual Geek

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

Blog posts

Forward vCenter Server Appliance logs to syslog server

Using Syslog server to forward the logs from vCenter is essential and best practice, forwarding logs to syslog server should always be in your configuration checklist. This is also a automated best way to ensure all the logs are streamed. Collected logs are used later for better troubleshooting vCen…

Read more

VMware vCenter Server Management Exception in invoking authentication handler user password expired

While logging to vCenter VAMI portal (VMware vCenter Server Management Port 5480), I was receiving below error message with my root login.

Exception in invoking authentication handler User password expired.

This issue is due to the root password for VAMI portal is expired. Although you can st…

Read more

VMware LifeCycle Manager import updates bundle and patch ESXi server

With VMware vCenter version 7 Lifecyle Management is greatly improved as with new name lifecycle manager with new features (formerly VUM [VMware Update manager]). The new innovations for lifecycle management in vSphere 7 make it easy for customers to have consistent and up-to-date systems. The major…

Read more

How to update a patch on an ESXi host via command line

When it comes to upgrade/update patches or ESXi version my preferred method is VMware Lifecycle manager / VMware update manager vum. But there are scenarios or issues while updating ESXi using VUM / LifeCyle manager or also this procedure helps if ESXi server is standalone and not managed by vCenter…

Read more

VMware LifeCycle Manager There are conflicts from the patches selected for staging or remediation

I was testing ESXi patching through Lifecycle Manager/VUM (Vmware Update Manager). While remediating patch bundle on ESXi server, there was electricity issue and my Esxi server and vCenter server got powered off abruptly in the middle of update. After powering on the vCenter and Esxi server I tried …

Read more

VMware WorkStation error This Virtual Machine appears to be in use

Recently my Windows OS crashed after some electricity issues where VMware WorkStation was installed. After powering on my lab servers again I was not able to Power On virtual machines on the VMware WorkStation and it was giving below error.

This virtual machine appears to be in use.
If this vir…

Read more

Configure PTP (Precision Time Protocol) on ESXi Server

Time keeping on ESXi server is a best practice, It helps in SSL certificate authentication and troubleshooting (logs/activities), it is very essential to Time configuration settings on ESXi server after deployment or after later. I have written two articles earlier on this topic.

vSphere ESXi s…

Read more

Powershell adding leading zeros to string or int

I was working on a script project where I wanted to create and defined names for multiple virtual machine in the series, with maintaining length of the string of names with numbers adding leading zeros, Below -f format operator one-liner command helps me to create the list.

Read more

Powershell Dell iDrac redfish Rest API basic authentication

In one of my blog Configure Dell iDrac9 Rest API with Powershell I showed how use x-auth-token to connect to Dell iDrac, here I instead of token, using basic authentication (use UserName and Password each time to connect to Redfish iDRAC rest api), This is just a example and I will be using expli…

Read more

Powershell web scrapping extract table from html

This is small script I use to collect the table data from website to Powershell Object and then further it can be saved to csv file. For this example I am taking table example from https://datatables.net. I will try to convert table to Powershell Object. HTML tables has tags th (Table header) and …

Read more

PowerShell slice array into groups of smaller arrays

This is a small script to slice array into groups of smaller array, and I use it in my scripts most often. This script is very helpful when I want to batch process multiple server at time but not on all the server, instead fewer servers at servers in batch. Once I have a very big fat list of servers…

Read more

Powershell Convert range of numbers into another list of numbers maintaining ratio

Recently I was working on some PowerShell GUI project, Where I wanted to convert a range of number into another range of number maintaining ratio, for this I had to use one Arithmetic Math formula and, for example I have numbers between 1 to 200, Which I wanted to fit into new number of range bet…

Read more

PowerCLI create, modify and assign tag and tagcategory

This script is written using VMware Powercli module and its purpose is as similar as earlier written script Powershell vCenter server Rest API create and assign tag and tagcategory for creating and modifying Tag and TagCategory, only the difference is earlier script is written using vSphere API t…

Read more

Powershell vCenter server Rest API create and assign tag and tagcategory

While working on one of the automation project I wanted to assign tags and tag category on VMware clusters using Powershell, It is easy task when done using PowerCLI module but the requirement was not to use PowerCLI module instead make use of vSphere vCenter Rest API

PowerCLI create, modif…

Read more

Configure vCenter SSO Active Directory (Integrated Windows Authentication) as identity source

I have already written a article on Add a vCenter Single Sign On Identity Source Active Directory (Windows Integrated Authentication), there are 2 ways to configure vCenter SSO with Windows Integrated Authentication, In the earlier article I have shown how to Use Machine Account, and the settings d…

Read more

Powershell Find application window state minimized or maximized

While working on one of the small freelance project there was a requirement to find whether launched application/process is minimized or maximized (For example when I open Microsoft excel what is the state whether it is minimized or maximized). This value of window state you can easily get with UIAu…

Read more

VMware Skyline Collector Password Recovery (KB52652)

After configuring few instances of VMware Skyline I found I am no longer able to login through ssh root or on web portal through admin, the default password was not working. Another thing was whenever logging through SSH tool I was getting root is locked up. For this skyline has simple and nice know…

Read more

Configure Dell iDrac9 Rest API with Powershell

After writing  2 articles related on HPE ILO rest api, I had to automate Dell iDRAC9 systems using powershell. Dell iDRAC9 rest API is based on Redfish resources. HPE ILO5 also uses redfish for APIs but the resources and parameter usage are somewhat totally different, So  I wrote Dell iDRAC codes fr…

Read more

PowerCLI Add a SCSI Controller to a Virtual Machine

My requirement was to write and automate adding a new virtual SCSI controller to virtual machines using PowerCLI. For this task there is cmdlet is already available New-ScsiController. But the problem with command is, standalone virtual SCSI controller cannot be added. It has to add new or existing…

Read more

Esxi Registration unregistration of third-party IO filter storage providers fails on a host

While installing and testing ESXi 7 on the summary page it was showing warning message in yellow Registration/unregistration of third-party IO filter storage providers fails on a host

VMware has already KB provided for this issue - https://kb.vmware.com/s/article/55774. According to VMware this

Read more

20 Blog Posts

Blog Search

Page Views

4448932

Follow me on Blogarama