VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

vsan_powercli

Hi Luc,

is there any powerclicommand to find the harddrives configured to esxi host.

i wstrying to configure disk group using new-vsandiskgroup and needed cnoniccal name of hrdrives as mndatory parameters.

i used powercli 10 to configure it and i think there are some enhancements in vsancommands in powercli 11.

Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Something like

$esxcli = Get-EsxCli -VMhost MyEsx -V2

$esxcli.storage.core.device.list.Invoke()


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

View solution in original post

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

Something like

$esxcli = Get-EsxCli -VMhost MyEsx -V2

$esxcli.storage.core.device.list.Invoke()


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

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

thanks .

Reply
0 Kudos