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…