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
Install PowerCLI on Powershell v5
it automation - powercli
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
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
After a long time, I am coming back here and sharing my work, experience, and thoughts with all of you. A year back I started writing blogs about technology but it quickly went under the carpet and couldn't able to continue the same. I felt that without having my own lab i won't be able … Continue reading VMware Home Lab – Ravello
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!
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 !
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
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