PSProvider and VMware datastore – PowerCLI

Hello everyone, I am writing this short blog after a long time. While explaining in-out of PowerShell to some of my friends in person, I discussed about PSProviders. Most of the knowledge about PSProvider is information only and as a script writer we dont really bother about how powershell is playing with different resources (Variable/function/Filesystem/Registery … Continue reading PSProvider and VMware datastore – PowerCLI

Automate VMFS6 Upgrade – Update-VMfsdatastore cmdlet

By now you must be switching onto vSphere 6.5. During this time you would have also figured it out that there is no online upgrade for VMFS5 to VMFS6, which means that there is a little bit of planning would require to upgrade your VMFS datastores to VMFS6 version. As of now, the most common … Continue reading Automate VMFS6 Upgrade – Update-VMfsdatastore cmdlet

Setting Up VSCode for PowerShell in 3 easy step

Recently I have switched from PowerShell ISE to VSCode for script development. I was very comfortable with PowerShell ISE except it's "intellisense" feature which used to hang my system a lot. Switching to VSCode certainly improved my development experience and gave me a better tool for debugging and testing my Powershell scripts. VSCode is an open-source … Continue reading Setting Up VSCode for PowerShell in 3 easy step

vCenter Server Appliance 6.5 : Way forward!

It's quite evident that with the release of vSphere 6.5, VMware has bet on linux centric approach. vCenter Server appliance is in existence since the release of vSphere 5.0 , however there were few gaps in terms of capacity. vCSA 5.x was supported with embedded PostgrSQL database and only 100 hosts per vCenter were supported. … Continue reading vCenter Server Appliance 6.5 : Way forward!

My Failed Attempt with PowerShell DSC + VMware !

The Idea:  Have a DSC Configuration for vSphere which get status of  vSwitch Security Policies like Forged transmit, Promiscuous mode and MAC address change. All 3 security settings must be set to Reject. DSC Configuration should set above 3 settings to Reject if it is not. And finally apply this configuration to all ESXi host … Continue reading My Failed Attempt with PowerShell DSC + VMware !

PowerShell DSC + VMware: Issue with Script Resource

Hi Folks, I am writing a Powershell DSC Configuration Using Script Resource using GetScript,TestScript and SetScript functions. Idea is to create a configuration for vSwitch Security Policy. I want my all ESX to have security policy as reject. However, Configuration block looks good here but it is trying to set these settings on windows box … Continue reading PowerShell DSC + VMware: Issue with Script Resource

ESXCLI+PowerCLI: Perfect fusion for ESXi

Hello Everyone, In this post I will discuss about managing ESXi hosts using ESXCLI and PowerCLI. Yes, You got it right. ESXCLI is one of the widely used command line interface for ESXi whereas PowerCLI is a PowerShell based snap-in for VMware. ESXCLI is intended to provide a single set of commands to perform host … Continue reading ESXCLI+PowerCLI: Perfect fusion for ESXi