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!
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
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
Geez. I am embarassed. I was querying the wrong server. smh. Thanks for your speedy response though.
$esxcli.system.module.parameters.list('qla2xxx') | where name -match ql2xmaxqdepth | select Value