Day: June 8, 2022

PowerShell — Get-Content slow?

In PowerShell, the cmdlet Get-Content is used to read a file. Usually you just give the path of a file name as below: Get-Content -Path "c:\temp\test.txt" When the file is small, you won't notice anything wrong. But when it's quite big with thousands of lines, you might notice it's extremely slow to display. This is … Continue reading PowerShell — Get-Content slow?