about_Redirection.help - TOPIC about_Redirection SHORT...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 TOPIC about_Redirection SHORT DESCRIPTION Describes how to redirect output from Windows PowerShell to text files. LONG DESCRIPTION By default, Windows PowerShell sends its command output to the Windows PowerShell console. However, you can direct the output to a text file, and you can redirect error output to the regular output stream. You can use the following methods to redirect output: - Use the Out-File cmdlet, which sends command output to a text file. Typically, you use the Out-File cmdlet when you need to use its parameters, such as the Encoding, Force, Width, or NoClobber parameters. - Use the Tee-Object cmdlet, which sends command output to a text file and then sends it to the pipeline. - Use the Windows PowerShell redirection operators. The Windows PowerShell redirection operators are as follows. Operator Description Example -------- ---------------------- ------------------------------ > Sends output to the get-process > process.txt specified file. >> Appends the output to
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/03/2010 for the course BUS fin taught by Professor Fez during the Spring '10 term at Valparaiso.

Page1 / 2

about_Redirection.help - TOPIC about_Redirection SHORT...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online