VMware Cloud Community
apglaser
Contributor
Contributor

Powershell version & ExtensionManager

I'm searching for more information regarding the Extension Manager. Specifically will it run on Powershell version prior to 6?  When I try and get-View ExtensionManager from Powershell 5 I get ObjectNotFound.  Any info is greatly appreciated.

0 Kudos
4 Replies
LucD
Leadership
Leadership

Works for me perfectly wel in PS v5.1 (and PowerCLI 11.5.0)

extmgr.png

Do you have some more information?
What kind of platform?

Which PowerCLI version?
Can you share a screenshot of the error?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
LucD
Leadership
Leadership

But I do get the "Object not found" error when I'm connected to an ESXi server and not a vCenter.

Can you check what you have in $global:defaultVIServer?

extmgr2.png


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
apglaser
Contributor
Contributor

I'll give that a shot today and see if it helps.

0 Kudos
apglaser
Contributor
Contributor

You were absolutely right. I've been tasked with writing a script to interrogate a vm based network, but I had it broken into several pieces for testing. I had forgotten that some connections were not in place yet.

thanks again, I appreciate your help.

0 Kudos