Problem Scenario
You are writing a PowerShell script. You want to extract one value from the results of a command. You get a set of values all on one line. It is difficult to parse just what you need. The output values for each attribute are separated by spaces. Sometimes the output values are blank. You want to reliably extract one property value from the command. You know that piping the output to an “sls” command will retrieve an entire row.
…