上QQ阅读APP看书,第一时间看更新
The six streams
PowerShell has radically changed the way we automate, by not providing us with exit codes like many have grown used to. Instead, PowerShell exclusively uses different streams to convey output, errors, warnings, and more. Mastering those streams enables you to write more powerful and versatile scripts.
Working with the six streams happens to be so common that cmdlets support the so-called common parameters that all cmdlets share. In this recipe, you will be working with streams like Output, Error, Warning, Verbose, Debug and Information.