I'm trying to make a PowerShell `PSObject` out of the output of a batch file. 

I am calling the batch file like this, which gives me an object containing the output of the batch file:

```
function browseGateway {
  & $migrationUtilityScript "browse" "-z" "$sourceGateway" "-showIds" "--hideProgress" |
    select -Skip 1 |
    Tee-Object -Variable gatewayItems |
    Out-Null |
    Sort-Object
  Clear-Host
  return $gatewayItems
}

```

The output looks like this:

```none
folder          27fa3a0eb01caf5f1e31b6aeadd68d35    _Management and internal
folder          2ab9e48a1b83968c3844d93bc0919919    Mediclinic
folder          2c0a788b7f39a0415b423f14c0aa9e9c    OAuth
folder          a49ab6404138110fbd6c993cc9b87e46    customers
folder          b015056834707a42a07bcbfbbeb0a6dd    Users
folder          b015056834707a42a07bcbfbbeb2ca34    Product Offerings
folder          e001cfd0c1c1ffaa18e187b5e72fc718    OTK-3.2.00
policy          20a437bb3db29c1700a4f074773ffa41    DemoLogo
service         2ab9e48a1b83968c3844d93bc08ba780    kevinGMU
service         2ab9e48a1b83968c3844d93bc09596e9    testJJ
service         3afaef13bd772e8e25acfe85c4d101a7    Error
service         88f089fba30183fc4f18b7b7d05f5889    test

```

I want to put them into PowerShell Objects for further processing:

* Column 1: Types
* Column 2: IDs
* Column 3: Names

I'm pretty sure you need to use `New-Object` for this, but I'm not entirely sure how to sort the information. Do I need to use a regex for each word and split it up further?