I\'m reading a log file in powershell using stremreader class. Doing it according to the recommended way:
$newstreamreader = New-Object System.IO.StreamReader