vmware-archive / powernsx

PowerShell module that abstracts the VMware NSX-v API to a set of easily used PowerShell functions
173 stars 90 forks source link

get-nsxedge version #633

Closed jmarlovits closed 3 years ago

jmarlovits commented 3 years ago

Hi, I'm trying to use powershell to gather inventory info on my NSX installs such as the edge device version info. I'm looking for the vmversion info that i can see stored in the xml in InnerXml OuterXml I saw a post about trying EdgeSummary, but that's not a correct field. Ideally something like this, Get-NsxEdge ESG1 | select vmversion

thanks

jmarlovits commented 3 years ago

I was able to get some help and we found it..

$1=get-nsxedge esg1 $1.edgeSummary.appliancessummary.vmVersion