Create Byte Array In Powershell If Condition