You might try a construct similar to this
foreach($vmin (Get-VApp-NameTest|Get-VM)){
Try{
Start-VM-VM$vm-ErrorActionStop
}
Catch[VMware.VimAutomation.ViCore.Types.V1.ErrorHandling.VMBlockedByQuestionException] {
Get-VMQuestion-VM$vm|Set-VMQuestion-DefaultOption-Confirm:$false
Start-VM-VM$vm
}
}