- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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