Powershell output results to text file

Reading Time: < 1 minute

To output powershell results to a text file, add the below to the end of your script. Change the location as you wish.

 | out-File “C:\results.txt”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.