To list a particular volume set with the -VolumeSetName parameter or to see all Volume Sets (do not use the -VolumeSetName parameter) use the
Get-PsbSnapshotSetMountHistory cmdlet.
Use this cmdlet with a
where statement to find the computer and mount that you want. Without a
where, the correct mountid needed for
Dismount-PsbSnapshotSet will have to be discerned from the returned array of all mounts created with this module.
The example below will return all the mounts where the computer name contains the value assigned to the $vmname variable and a path of "c:\mp101".
$mounts = Get-PsbSnapshotSetMountHistory -FlashArrayAddress $FADNS -FlashArrayCredential $FlashArrayCredential | where {($_.Computer -Contains $vmname -and $_.Paths -Contains "c:\mp101")}