# Display the difference in speed between the System.IO.File class and Get-Content when reading a text file (Measure-Command {[System.IO.File]::ReadAllLines('C:\TestRead.txt')}).TotalMilliseconds (Measure-Command {Get-Content -Path C:\TestRead.txt}).TotalMilliseconds