Avoid Select-Object output on screen
Advertisements I am having a bit of trouble with Select-Object. With the following piece of (truncated) code: $totalData=(Get-Content $Env:TEMP\FBIUtemp2.txt) ….. $data="" …. …. $data =($totalData | Select-Object -Index ($s..$limit)) $data.Replace("`r`n"," ") $data.Replace("`n"," ") I get a String (list of String separated with newline termination) from a file and get lines between $s and $limit into… Read More Avoid Select-Object output on screen