No, you have to loop thru stuff.
A snippet from my doc script:
$MachineData = Get-ProvScheme -ProvisioningSchemeUid $Catalog.ProvisioningSchemeId @XDParams1
If($? -and $Null -ne $MachineData)
{
$tmp1 = $MachineData.MasterImageVM.Split("\")
$tmp2 = $tmp1[$tmp1.count -1]
$tmp3 = $tmp2.Split(".")
$xDiskImage = $tmp3[0]
#28-sep-2016 add the VM the catalog is based on
$MasterVM = ""
ForEach($Item in $tmp1)
{
If($Item.EndsWith(".vm"))
{
$MasterVM = $Item
}
}