How can I abort a WFA command under certain circumstances? Is the following correct?
# If Snapmirror Relation exists abort
$SnapMirrorStatus = Get-NaSnapmirror $SourceVolumeName
if ($SnapMirrorStatus)
{
Get-WFALogger -Info -message $("Snapmirror Relation " + $SnapMirrorStatus + " already exists")
exit
}