Skip to main content
Question

Nutanix PowerShell module - Error with Get-VM

  • December 16, 2025
  • 2 replies
  • 21 views

Hi,

This topic has already been discussed several times but no solutions applied (reconnecting, importing the module, prefixing the cmdlets ...).

I’ve setup an isolated environment with PowerShell 7.5.4 and the Nutanix Powershell Module 2.1.1.

I can connect to Prism Central but any Get-* command will end up with the error :

“Object reference not set to an instance of an object”

I cannot find a way to get the cmdlets to work.

Any idea ?

Best regards

2 replies

Forum|alt.badge.img+1
  • Trailblazer
  • December 17, 2025

Hello SylvainB,
 

You may try following blog to explorer the Nutanix PowerShell commands in detailed way with use-cases.


Refer blog: Nutanix CMDlet Powershell Commands Cheat sheet

thank you,


  • Author
  • Voyager
  • December 18, 2025

Hi Kumar_Manish.

Thank you for this suggestion but this is not what I’m looking for: I want to connect to Prism Central, not Element, and the PS module is not the same

I want to use this one

I can connext to Prism Central but every commandlet call after that fails.