Changes

Jump to: navigation, search

Windows PowerShell 1.0 Pipes and Redirection

1,218 bytes added, 21:08, 1 December 2008
PowerShell Pipes
VersionInfo :
</pre>
 
== Windows PowerShell Redirection Operators ==
 
The operators implemented by Windows PowerShell to facilitate redirection are similar to those used in other shell environments. The full complement of these operators are outlined in the following table:
 
<table border="1" cellpadding="5" cellspacing="0" id="E3B" style="border-collapse: collapse; border-color:#cccccc; border-style: solid; border-width: 1px; margin-bottom:20px">
<tr bgcolor="#cccccc" style="color:black" valign="top">
<th>Operator</th><th>Description</th>
<tr>
<td>><td>Redirects output to specified file. If the file already exists, current contents is overwritten.</td>
<tr bgcolor="#e9e9e6">
<td>>><td>Redirects output to specified file. If the file already exists, the new output is appended to the current content.</td>
<tr>
<td>2><td>Redirects error output to specified file. If the file already exists, current contents is overwritten.</td>
<tr bgcolor="#e9e9e6">
<td>2>><td>Redirects error output to specified file. If the file already exists, the new output is appended to the current content.</td>
<tr>
<td>2>&1<td>Redirects error output to the standard output pipe instead of to the error output pipe.</td>
<tr bgcolor="#e9e9e6">
<table>

Navigation menu