VMware Cloud Community
prd
Enthusiast
Enthusiast
Jump to solution

Get-ESXCLi

Hello all,

How do I pass parameter -m (as shown below) in a get-esxci command.  Basicaly I want a powercli oneliner to list queudeph for qlogic

esxcli system module parameters list -m driver

$esxcli.system.module.parameters.list(???)

Thanks!

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Have a look at Get-EsxCli on steroids and Howto use ESXCLI in PowerCLI

Both explain in detail how to use the Get-EsxCli cmdlet.

You can get the modules through

$esxcli.system.module.list()

once you have the module you do for example (name of the module as parameter)

$esxcli.system.module.parameters.list('nmp')


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

View solution in original post

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership
Jump to solution

Have a look at Get-EsxCli on steroids and Howto use ESXCLI in PowerCLI

Both explain in detail how to use the Get-EsxCli cmdlet.

You can get the modules through

$esxcli.system.module.list()

once you have the module you do for example (name of the module as parameter)

$esxcli.system.module.parameters.list('nmp')


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

Reply
0 Kudos
prd
Enthusiast
Enthusiast
Jump to solution

Geez.  I am embarassed.  I was querying the wrong server.   smh.   Thanks for your speedy response though.

Reply
0 Kudos
prd
Enthusiast
Enthusiast
Jump to solution

$esxcli.system.module.parameters.list('qla2xxx') | where name -match ql2xmaxqdepth | select Value

Reply
0 Kudos