LucD,
I dont get any output.
$tgtHBA = "vmhba2"
$tgtPortWWN = "5764617912562315608"
Get-VMHost | Get-ScsiLun -LunType disk | where {$_.RuntimeName.Contains($tgtHBA)} |Get-ScsiLunPath | where
{$_.Extensiondata.Transport.PortWorldWideName -eq $tgtPortWWN} |Set-ScsiLunPath -Active:$false
Here is the link i followed. This was updated by you in 2011 :-)
-Gurram