I'm sure there's a simple way to do this but so far I seem to be making it too hard I guess. Consider this line:
If ($s_ConsolArc = "Archive" And $b_DoArchive = 1) Or $s_ConsolArc = "Consolidated" Then
What I am trying to do is enter the subsequent code if either of these condtions are true:
$s_ConsolArc = "Consolidated"
or
$s_ConsolArc = "Archive" And $b_DoArchive = 1
I assume I am making a mistake somewhere and that it is indeed possible to accomplish this, so a virtual beer for my foolishness to the person who helps.