阅读背景:

如何在自定义cmdlet中正确使用-verbose和-debug参数

来源:互联网 

By default, any named function that has the [CmdletBinding()] attribute accepts -debug and -verbose (and a few others) parameters and has predefined $debug and $verbose variables. What I'm trying to figure out is how to pass them on to other cmdlet's that that get called within the function.By default, any named function that has the [Cm




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: