Menu

Virtual Geek

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

Blog posts July 2020

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 …

Read more

Powershell Using vRealize Log Insight Rest API

I had an assignment to automate vRLI (VMware vRealize Log Insight) using Powershell as well as Ansible. Here in this article I am showing how to use Microsoft Powershell to automate vRLI configurations. The best part about vRLI is, it provides Rest API which you can easily consume with any scripting…

Read more

Add a VMFS datastore using VMware PowerCLI

This article's completely focus is on VMware PowerCLI command line to add or create new VMFS datastore, You can check Create a VMFS Datastore in the vSphere Client how The same task is performed using vSphere Client (HTML5). To start first Import Vmware.PowerCLI module on to PowerShell and log in t…

Read more

PowerCLI Get-VMhost The operation on computer failed The WinRM client cannot process the request

I frequently get error winrm client cannot process the request while running few VMware PowerCLI commands for example: Get-VM, Get-VMhost etc. The complete error is highlighted as below in the Red, This generally happens due to duplicate cmdlet name in the another module.

Microsoft Powershell Module PowerCLI vmware.Powercli vmware vsphere esxi connect-viserver import-module get-vmhost winrm hyper-v module vcenter server vcsa vsphere client visual studio code.png

Import-Module VMw…

Read more

Create a VMFS Datastore in the vSphere Client

This is a step by step procedure to create a new VMFS datastore on the ESXi server using vSphere Client, and same guide is applicable for both Local Disk as well as Shared remote storage. While using HTML5 based vSphere client you might find little difference creating a new Datastore. To start I hav…

Read more

Powershell New-Object Retrieving the COM class factory for component with CLSID 80040154 Class not registered (Exception from HRESULT 0x80040154 (REGDB_E_CLASSNOTREG))

I was trying to use PowerShell object InternetExplorer.Application for automation purpose, While running my Powershell scripts on my VMs, I was receiving below error. To troubleshoot further I tested other Microsoft object for example: Excel.Application and Outlook.Application. Still I was recei…

Read more

Step by Step guide to push your first project to github.com

Powershell Write-Eventlog The source name test does not exist on computer localhost

I was writing one GUI program on Microsoft Powershell, One of the requirement was logs (Information, Warnings and Errors) must be written under Event Log - Event Viewer, So troubleshooting or information viewing for program operations is easy and everything is logged properly. To fulfill the task th…

Read more

8 blog posts

Blog Search

Page Views

11239851

Follow me on Blogarama