Show all files of selected VMs in the Storage Pools


Target Type: Virtual Machine
Output format: action

param
(
[Parameter(Mandatory=$true)]
[VMware.VimAutomation.ViCore.Types.V1.Inventory.VirtualMachine[]]
$vParam
);

$vm = get-vm $vParam
$vmv = $vm | get-view
$vmv.LayOutEX.file | Format-Table

STORAGE