Thursday, October 6, 2016

How to create the Output of the Command Line to a File

How to create the Output of the Command Line to a File


The command below will print the result to a file type of your choice and location 

net user administrator | findstr /B /C:"Last logon" >> C:\Temp\lastlogon.txt



No comments:

Post a Comment