我在发布定义中使用目标计算机上的Powershell任务。
此任务默认生成日志中的大量调试信息:
2016-04-19T09:29:13.9259230Z执行powershell脚本: C:\ TEMP \ agent2 \任务\ PowerShellOnTargetMachines \ 1.0.2 \ PowerShellOnTargetMachines.ps1
2016-04-19T09:29:14.0665281Z ## [debug]输入脚本 PowerShellOnTargetMachines.ps1 2016-04-19T09:29:14.0665281Z
2016-04-19T09:29:14.0665281Z ## [debug] protocol = Http
2016-04-19T09:29:14.0665281Z ## [debug] resourceFilteringMethod = machineNames
2016-04-19T09:29:14.0665281Z ## [debug] scriptPath = C:\ RM \ foobar \ 2013.10.16110.02-01 \ foobar.ps1 2016-04-19T09:29:14.0665281Z ## [debug] scriptArguments = -foobar DEV -foobar“foobar”
2016-04-19T09:29:14.0821546Z ## [debug] runPowershellInParallel = true 2016-04-19T09:29:14.0665281Z ## [debug] testCertificate = 真
= 2016-04-19T09:29:14.0665281Z ## [debug] initializationScriptPath = 2016-04-19T09:29:14.0665281Z ## [debug] machineNames
等等。
如何关闭此调试信息?