本文介绍了Microsoft SMA给出找不到名为"0"的参数.在运行Runbook时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

这是SMA上的旧设置,一直在运行.上周末,在SMA上运行任何Runbook时,我们都会收到此错误.

This is an old setup on SMA which was working all this while. Of late last weekend we are getting this error while running any runbook on SMA.

我们正在出错*在第12行:25个字符:25 + $ allComputers = Get-AutomationVariable"TestExecutor_Computers" + ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~无法找到名为"0"的参数.支持的参数包括:Debug,DisplayName,ErrorAction, 输入,MergeErrorToOutput,名称,PSActionRetryCount,PSActionRetryIntervalSec,PSActionRunningTimeoutSec,PSAllowRedirection,PSApplicationName,PSAuthentication,PSCertificateThumbprint,PSComputerName,PSConfigurationName,PSConnectionRetryCount,PSConnectionRetryIntervalSec, PSConnectionUri,PSCredential,PSDebug,PSDisableSerialization,PSError,PSPersist,PSPort,PSProgress,PSProgressMessage,PSRemotingBehavior,PSRequiredModules,PSSessionOption,PSUseSsl,PSVerbose,PSWarning,Result,Verbose,WarningAction.

We are getting error * At line:12 char:25 + $allComputers = Get-AutomationVariable "TestExecutor_Computers" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Could not find a parameter named ‘0’. Supported parameters are: Debug, DisplayName, ErrorAction, Input, MergeErrorToOutput, Name, PSActionRetryCount, PSActionRetryIntervalSec, PSActionRunningTimeoutSec, PSAllowRedirection, PSApplicationName, PSAuthentication, PSCertificateThumbprint, PSComputerName, PSConfigurationName, PSConnectionRetryCount, PSConnectionRetryIntervalSec, PSConnectionUri, PSCredential, PSDebug, PSDisableSerialization, PSError, PSPersist, PSPort, PSProgress, PSProgressMessage, PSRemotingBehavior, PSRequiredModules, PSSessionOption, PSUseSsl, PSVerbose, PSWarning, Result, Verbose, WarningAction.

只是为了澄清运行了两年的runbook脚本没有任何变化.

Just to clarify there is no change in the runbook script it was running for 2 years untouched.

我检查了服务器的更改,发现在周末这些KB已在服务器上更新.我每个都删除了一个KB并重新启动了服务器,并检查了仍然相同的错误.
这些是KB更新.
KB4343888
KB4344171
KB4457143
KB4462941
KB4462949

I have checked the server for changes and found that over the weekend these KB were updated on the server. I have removed a KB each and restarted the server and checked still the same error.
These are the KB updates.
KB4343888
KB4344171
KB4457143
KB4462941
KB4462949

我遵循的步骤:
2)删除了服务器上的最新更新

Steps I followed:
2)Removed the latest updates on the servers

服务器详细信息:
Windows 2012 R2
SMA UiPath控制中心
Powershell 4.0
.Net 4.5

Server Details:
Windows 2012 R2
SMA UiPath Control Center
Powershell 4.0
.Net 4.5

请帮助解决此问题.

问候
拉古拉姆(Raghuram)

Regards
Raghuram

推荐答案


这篇关于Microsoft SMA给出找不到名为"0"的参数.在运行Runbook时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 22:10