VMware Cloud Community
n_lietz
Contributor
Contributor
Jump to solution

Get-View -ViewType ClusterComputeResource targeting VCSA 7.0.1 (Build 16858589) results in an Error?

Hi,

can someone confirm that calling "Get-View -ViewType ComputeResource" or "Get-View -ViewType ClusterComputeResource" targeting a VCSA 7.0.1 (Build 16858589) results in an Error?

I have tested from multiple Hosts targeting two different vCenters.

Sample Error Message: ->

Get-View : 10.10.2020 15:45:01  Get-View                Object reference not set to an instance of an object.

At line:1 char:1

+ Get-View -ViewType ClusterComputeResource

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Get-View], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.ViCore.Cmdlets.Commands.DotNetInterop.

   GetVIView

Component Versions ->

Client is Server 2016

Get-Host | select version

Version

-------

5.1.14393.3866

Get-Module vmware* | select name,version

Name                          Version

----                          -------

VMware.Vim                    7.0.0.15939650

VMware.VimAutomation.Cis.Core 12.0.0.15939657

VMware.VimAutomation.Common   12.0.0.15939652

VMware.VimAutomation.Core     12.0.0.15939655

VMware.VimAutomation.Sdk      12.0.0.15939651

Is this a Bug, or did is miss something with new VCSA-Build and doing wrong?

Thanks

Nico

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

This is a known issue, will be fixed in PowerCLI 12.1 which should normally be released next week.


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

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

This is a known issue, will be fixed in PowerCLI 12.1 which should normally be released next week.


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

0 Kudos
n_lietz
Contributor
Contributor
Jump to solution

Thanks for responding so quickly to my request.

This helps me to stop wasting time in searching for errors...

CU

Nico

0 Kudos