VMware Cloud Community
Galateo
Contributor
Contributor
Jump to solution

Get in PowerCli storage for a virtual server

Hi All,

How can a I get the storage name for a virtual server?

Thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Do you mean the datastore name(s)to which the VM is connected ?

Get-VM -Name MyVM | Get-Datastore


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

View solution in original post

0 Kudos
1 Reply
LucD
Leadership
Leadership
Jump to solution

Do you mean the datastore name(s)to which the VM is connected ?

Get-VM -Name MyVM | Get-Datastore


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

0 Kudos