vmware-archive / powernsx

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

Get-NSXEdge: Edge Version ? #525

Closed chvolcko closed 6 years ago

chvolcko commented 6 years ago

Hello,

I have done some searching and cant seem to find the answer. When I do a Get-NSXEdge , the version returned does not seem to be of any use, and I have compared them in the environment. I am attempting to use PowerNSX to do an upgrade of older edges in our environment , however I cant target them by version so its pretty much useless for this task, unless I am missing something? capture

Thanks, -Christian

alagoutte commented 6 years ago

Hi Christian,

version field is a "internal" field available on all NSX "object" and for each modification, there is increment of this value (it is for check if there is not a update of object before update)

for get "release" of Edge, you need to look EdgeSummary if i remember

alagoutte commented 6 years ago

and if you want to update Edge (ESG), you need to use Repair-NSX... ( Get-NsxEdge Edge01 | Repair-NsxEdge -Operation Upgrade ) see #454

chvolcko commented 6 years ago

Alexis, Thank you for helping a newb out! this got me where I needed to be. I'm a big fan of PowerNSX.

Thanks -Christian