Execute PowerShell cmdlets in interactive and batch modes

PowerShell Interactive Mode (add-pssnapin) The PowerShell Interactive Mode allows you to run individual PowerShell commands inside the PowerShell mode. View some of the PowerShell cmdlets here. The Add-PSSnapin command allows you to load Nutanix PowerShell cmdlets into the PowerShell environment. Convert the raw password to a secure string. This step is required because the Nutanix…

Read more...

Unofficial Nutanix NCAP Study Guide

After completing the NCP, the NCAP was the next goal on my list. I began to prepare for this in a similar fashion to how I did with the NCP. The first step was of course, to download the Exam Blueprint. As with the NCP guide, a big credit again goes to Steven Poitras, and…

Read more...

Automate Advanced Settings with ESXCLI

After my last post about NFS Performance decreasing after host reboots, I was tasked with implementing the workaround across our infrastructure. My two options are click through the GUI until my fingers bleed or automate. As you can assume by this post, we’re most definitely going with the latter. And we all know the best…

Read more...

Identify how to download and configure tools and applications like Prism Central, Cmdlets, and REST API

Prism Central Coming Soon PowerShell cmdlets Sign in to the Nutanix web console. Click the user icon in the upper-right corner of the web console and select Download Cmdlets Installer. After the installer completes downloading, double-click the installer and follow the prompts. The cmdlets are installed and a desktop shortcut NutanixCmdlets is created. Double-click the…

Read more...

Unofficial Nutanix NCP Study Guide

I have always been a fan of leveraging community resources when studying for certification exams. The VCAP study guides here, and here were invaluable when I was studying for those exams. When I began preparing for the Nutanix NCP, I was a little bummed out when I couldn’t find any community resources like these. I…

Read more...

vMotion: Launch Failure

Engineers are always diligent about patching, especially when it comes to the lab (wink wink). So being the diligent engineer that I am, yesterday afternoon I setup a job in Update Manager to patch all my hosts in my cluster. I stepped away to run an errand, and when I came back my first host…

Read more...

Modify SNMP with ESXCLI V2

If you’ve ever used the Get-EsxCli command then you are familiar with the the positional variables and the army of $nulls. For example, setting SNMP in the past would consist of something like this: $esxcli.system.snmp.set($null,’$community’,$true,$null,$null,$null,$null,’162′,$null,$null,$null,$null,$null,’192.168.22.64/public’,$null,$null) Each parameter (16 for SNMP as of ESXi 6.7) needs to have either a value or $null. This is tedious…

Read more...

Reclaim IP in NSX via API

One of the more tedious things in dealing with NSX is to reclaim an IP address that is no longer in use. Here is a method I use with Postman and the NSX API. Setup your Authorization to use you NSX Manager username and password: Next, perform a GET request to your NSX Manager: This…

Read more...