PoshTip #45 – How to get the number of lines of a file?
Below is one of the ways to get the number of lines from a file: PS > Get-Content -Path "C:\DefaultStartMenu.xml" | Measure-Object -Line Lines Words Read More
Below is one of the ways to get the number of lines from a file: PS > Get-Content -Path "C:\DefaultStartMenu.xml" | Measure-Object -Line Lines Words Read More
PoshTip #17 – Copy files to a new location To copy a file from one folder to another, you can use the Copy-Item cmdlet : Copy-Item -Path Read More