Menu

Virtual Geek

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

Stuffs from real IT system ADMINISTRATORS world and my LAB

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 to connect vCenter server and doing changes.

To test this script, I will apply tags to few of my c…

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, modify and assign tag and tagcategory

What is Tag, TagCategory and Cardinality?
Tags permit you to as…

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 doesn't require much settings on active directory side, but the requirement is the domain account you…

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 UIAutomationClinet .net class object. You can more read about the object on https://docs.microsoft.co…

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 knowledge based article https://kb.vmware.com/s/article/52652. Since I was facing recurring issue, I…

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 from ground up. Here in this example I will be showing how to use token based authentication also call…

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 virtual disk while creating virtual SCSI controller. In both cases you have to have virtual disk cr…

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 issue is caused by a transient connectivity issue between the ESXi hosts and the vCenter Server whil…

Read more

Powershell Configure ILO5 using Restful API

This is second part of PowerShell HPE ILO4 Rest API automation examples. In earlier part I shown how to use Rest API on ILO version 4. But the same API didn't work on ILO5 for me, After verifying document for ILO5, I found it uses RedFish rest api.

What is Redfish? 
DMTF's Redfish® is a standard API designed to deliver simple and secure management for converged, hybrid IT and the Software…

Read more

PowerShell HPE ILO4 Rest API automation examples

Using Microsoft PowerShell to consume and automate any Restful API is very easy. In my earlier article I showed how to automate VMware product to automation rest api - Powershell Using vRealize Log Insight Rest API. In this article I am using HPE ILO4 Rest API to write automation scripts and how to use it. 

Powershell Configure ILO5 using RedFish Restful API

HPE has very good documentat…

Read more

View older posts »

Page Views

3996319

Sure I am looking into it.

Thanks Tony, I am glad the article is useful, For HPE Check this official getting started guide.

https://vibsdepot.hpe.com/getting_started.html

Hi Kunal ,
Really Great Job!
The script doesn't give VM info and its blank, could you please revisit the script.

Hi Kunal,

An excellent article with really good detail.

I have one comment and only one of question.

You got UMDS 7 to work on Centos when it is only supported on Ubuntu and RHEL, well done.

For additional online repositories you have this for Dell:
/usr/local/vmware-umds/bin/vmware-umds -S --add-url http://vmwaredepot.dell.com/index.xml --url-type HOST

What is the one for HPE?

Thanks

Tony

This was very helpful. Thank you.

Follow me on Blogarama