Powershell Convert Command Output To Purpose