Thursday, 30 July 2015

Installing Nutanix Powershell cmdlets

Before you can start making use of Nutanix Powershell you will need to install the Nutanix cmdlets that are provided in an installer. You can easily install them from your PRISM interface.

  • Log in to PRISM and click the gear icon
  • Click Download cmdlet installer to download installer
  • Start the installer 
  • Accept default path
  • Click Finish
Once the installer has finished you will need to install snapin. You can do this by running the following command:

.\InstallUtil.exe “C:\Program Files (x86)\Nutanix Inc\NutanixCmdlets\Modules\NutanixCmdletsPSSnapin.dll”

You will need to run the install.exe from the .NET directory. There are several of these depending on the .Net frameworks you have installed. In my case it was C:\Windows\Microsoft.Net\Framework\v4.0.30319

You also need to ensure that the snapin loads when you start your powershell session. Run "notepad $profile" and add the following to your powershell profile

Add-PsSnapin NutanixCmdletsPSSnapin

That should be it. Currently there are around 150 Nutanix cmdlets. Make sure you print off this very handy poster and hang it above your desk.


2 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete