Browsing Category : Automation & Scripting

Feature Image of custom dynamic groups

Automatically create custom dynamic groups in vROps as per vCenter Tags

Purpose: Do you want to create custom dynamic groups in vROps which matches the tags created in vCenter server? You can do this manually, but you have large number of tags created. How to tackle that programmatically? This post covers the exact point. Read on to know how you can automatically create custom dynamic groups in vROps server. These groups…

Read More »
Push data in vRealize Operations Manager

How to programmatically push data in vRealize Operations Manager

Purpose: Did you ever feel the need to push custom data to vRealize Operations Manager (vROps)? Did you wish, you could see that one parameter or metric specific to your environment in vROps? This post provides exactly that information. Here I demonstrate a script which pushes custom data into vROps. At the same time, I explained how you can customize…

Read More »
collect metric values

How to programmatically collect metric values from vROps

Purpose: Few customers inquired about how they can collect metric values directly from vROps. They majorly wanted to get that information using REST API’s. I wrote another blog post detailing how you can do it. I wrote a python script to automatically collect metric values from vROps. This post provides details about that script. Where you can get that script…

Read More »
Featured Image of Advance PowerCLI

Learn Advance PowerCLI in under 100 minutes

Purpose: Automation in a virtualised datacenter is must for any IT-Admin. PowerShell is perhaps the most important tool in such virtualised datacenter.  For VMware environment PowerCLI provides that capability to the admins. This is the second session on PowerCLI, covering the advance topics. If you are just starting or plan to start with PowerShell, then first read the first part and come…

Read More »
PowerCLI featured Image

Learn basics of PowerShell & PowerCLI under 1.5 hours

Purpose: Automation in datacenter is a must for any IT-Admin. And scripting is the most important skill they can have. PowerShell is the most important scripting language in today’s virtualised environment. This is a session on basics of PowerShell and PowerCLI which I did for a customer. If you are just starting or plan to start with PowerShell and wondering where to…

Read More »

Finally it is here–PowerShell for Linux and Mac

The most awaited feature is finally here. Never thought I would see Microsoft saying they love Linux and open source. But I suppose this was on the cards cause you can not ignore a vast population of IT landscape. So finally PowerShell is here for Linux and Mac environment.Here is a step by step guide on how you would install…

Read More »

How to Remote execute scripts inside a VM in vSphere

Hello All, Hope you are doing well. Today I want to talk about remotely executing scripts inside a VM which is hosted in vSphere environment. Recently I received the following requirement from a colleague for a customer. Environment: 1. Customer has hundreds of VMs 2. A particular application is running in many of the VM’s which creates a log file…

Read More »

How to access and utilize ESXCLI from PowerCLI

Today I am going to talk about an interesting feature of PowerCLI. Through PowerCLI you can utilize the full functionalities of ESXCLI commands. Question is why would you like to access Esxcli commands from PowerCLI cmdlets. The reason is there are certain tasks which can easily be done using Esxcli cmdlets because there are no simple cmdlets available in PowerCLI…

Read More »

vSphere Capacity Report

Purpose of the Script: If you are an admin who manages a vSphere environment then you are in the right place. How many times did you wish for a report that would give you a holistic view of capacity of your environment? Well, I know you can get that from vRealize Operations Manager, but what about a simple script which…

Read More »