July 2017
Intermediate to advanced
648 pages
31h 9m
English
The Out-File cmdlet is simply a redirection command that will export the output of your command to a plain text file. Perhaps one of the most useful features of this cmdlet is the ability to add data to the end of an existing file using the -Append parameter. This allows you to continuously update a text file when processing multiple objects or creating persistent log files or reports.
The Export-CSV cmdlet converts the object's output, by your command, into a collection of comma-separated values and stores them in a CSV file. When we ran the Get-Mailbox cmdlet in the previous example, we filtered the output, ...
Read now
Unlock full access