Reply to Message

View discussion in a popup

Replying to:
LucD
Leadership
Leadership

1. There is no cmdlet for that if that is what you mean by 'simple' command.
You need to call the API method

2. After a Get-HardDisk you can get the sharing mode via a calculated property

@{N='HDSharingMode';E={$_.ExtensionData.Backing.Sharing}}

You can find the storage policy for harddisks with the Get-SpbmEntityConfiguration cmdlet.

Get-VM -Name MyVM | Get-HardDisk |

Get-SpbmEntityConfiguration


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

View solution in original post

Reply
0 Kudos