Create Byte Array Powershell If Condition