VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

nsx-t powercli module _powercli

hi luc,

i was doing some research on nsxt today .thought of checking commands avalaible  with 11.2 powercli .

i found only three commands available .however there were many functions avaliable .

does that mean those functions have been created for that specific lab .

pastedImage_0.png

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

No, the NSX module indeed only contains 3 cmdlets.

It's the same concept as with the VCSA app interface.

You get access to all the methods via the services.

To use those you need to use the corresponding API Reference.

Or use a 3th party module that has packaged some of these API methods in PowerShell functions.


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

View solution in original post

0 Kudos
4 Replies
LucD
Leadership
Leadership
Jump to solution

No, the NSX module indeed only contains 3 cmdlets.

It's the same concept as with the VCSA app interface.

You get access to all the methods via the services.

To use those you need to use the corresponding API Reference.

Or use a 3th party module that has packaged some of these API methods in PowerShell functions.


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

0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

thanks luc,

i also found following

https://itq.eu/feeds/automate-nsx-t-with-powercli/

Get-NsxtService  with this command have full access to NSX-T’s public API!

something like we discuused ( and yu just mentioned)in previous post

connect-cisserver -server vcsa-01a.corp.local

get-cisservice -name “com.vmware.appliance.servcies”

0 Kudos
LucD
Leadership
Leadership
Jump to solution

For more examples, William created a small library of functions, see NSX-T PowerCLI community module


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

jvm2016
Hot Shot
Hot Shot
Jump to solution

tx luc.

0 Kudos