Fix for ZEN-10572

The powershell command was putting a carriage return in returned data which caused
the results to shift. The end result was index errors and corrupted data.