Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS D:\> write-host hello 2>&1
- hello
- PS D:\> write-host hello 3>&1
- Ampersand not allowed. The & operator is reserved for future use; use "&" to pass ampersand as a string.
- At line:1 char:21
- + write-host hello 3>& <<<< 1
- + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
- + FullyQualifiedErrorId : AmpersandNotAllowed
- PS D:\>
Advertisement
Add Comment
Please, Sign In to add comment