Link to home
Start Free TrialLog in
Avatar of Pau Lo
Pau Lo

asked on

powershell command for rows in a text file

is there an easy way via powershell to scan a text/log file (they have extensions of *.log or *.txt) and it return how many rows of data there are in it? I have some gigantic txt files which I am struggling to import into excel and access (may need to look at SQL Server) but knowing the number of rows of data upfront would help.
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
EXPERT CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial