By default, If the entity with the name you specified for Find-VBRViEntity cmdlet doesn't exist, powershell will just resolve an empty line.
If you want to configure some kind of message notifying you on the entity absence, I would suggest to use "throw" keyword in your if statement.
In this case, it will resolve a system-like error with a custom text you wrote.
Example:
$ViEntityName = "VMDoesnotexist"
$Result = Find-VBRViEntity -Name $ViEntityName
if (!$Result) {
throw "Entity with the name $ViEntityName is not found"
}
else {
$Result
}