Feb 08 2021 12:55 PM
SolutionThere are multiple way
The easiest is Load the file and select the line you need as its an array
$x=Get-content C:\MyFile.txt
$x[9]
Or you can use this way
$x | select -First 1 -Skip 9
Feb 09 2021 02:24 AM
Feb 08 2021 12:55 PM
SolutionThere are multiple way
The easiest is Load the file and select the line you need as its an array
$x=Get-content C:\MyFile.txt
$x[9]
Or you can use this way
$x | select -First 1 -Skip 9