Mastering Windows PowerShell: Parameters, Filtering, and Formatting
1. Common Parameters in Windows PowerShell
Windows PowerShell offers six common parameters that can be used with all cmdlets. Here’s a breakdown of these parameters:
- Debug : A boolean parameter that determines whether debugging information is collected. Debugging info is only shown if the cmdlet supports its generation.
- ErrorAction : Defines the behavior when an error occurs. Allowed values are Continue (default), Stop , Silently Continue , and Inquire .
- ErrorVariable : Specifies a variable to store error information, in addition to the built - in $erro
超级会员免费看
订阅专栏 解锁全文
2250

被折叠的 条评论
为什么被折叠?



