5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
I don't see a property for project name. I don't think there is one. These are all the properties that I see for a VM object: TypeName: Nutanix.Prism.DTO.Stats.VMDTO Name MemberType Definition ---- ---------- ---------- Equals Method bool Equals(System.Object obj) GetHashCode Method int GetHashCode() GetType Method type GetType() ToString Method string ToString() acropolisVm Property System.Nullable[bool] acropolisVm {get;set;} alertSummary Property Nutanix.Prism.DTO.Alerts.AlertSummaryDTO alertSummary {get;set;} clusterUuid Property string clusterUuid {get;set;} consistencyGroupName Property string consistencyGroupName {get;set;} containerIds Property string[] containerIds {get;set;} containerUuids Property string[] containerUuids {get;set;} controlDomain Property System.Nullable[bool] controlDomain {get;set;} controllerVm Property System.
I don't see anything listed as a property named "project". $VM = Get-NTNXVM <-- one of your VMs then $VM | Get-Member <-- will list all the available properties & methods. Or $VM | Select * <-- will list everything and the values. -TimG
Are you querying Prism Central or Prism Element? The Powershell Cmdlets are built on v1 API which only works with Prism Element AFAIK. Prism Central - I get everything else ok.-TimG
Thanks [user=95361]andymlloyd[/user], I do include the -ForcedConnection switch to my Connect-NTNXCluster and am able to get other information. It is just the NIC information that is resulting in the error. I'm not overly stressed about it since looking in the Prism Central UI it doesn't look like I would get much additional information from that other than the MAC address. I have a script that retrieves detail VM information from VMware and I wanted to add as much information as I could from AHV VMs as well to the report. -TimG
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.