问题描述
您好,我正在尝试解决更新管理方面的问题.我的部署失败,并出现以下错误:异常:'无法找到指定的文件. (找不到指定的文件.)'
Windows事件查看器警告消息(已删除通过runbookVersionID的订阅ID):
作业状态已更改为失败. [subscriptionId = {REMOVED}] [accountId = {REMOVED}] [accountName = REMOVED] [sandboxId = {REMOVED}] [jobId = {REMOVED}] [runbookDefinitionKind = PowerShell] [runbookName = Patch-MicrosoftOMSComputer] [runbookVersionId = {REMOVED }] [exception = http://System.Management .Automation.RuntimeException:无法找到指定的文件. ---> http://System.IO .FileNotFoundException:无法找到指定的文件.
在http://System.Management .Automation.MshCommandRuntime.ThrowTerminateError(ErrorRecord errorRecord)
---内部异常堆栈跟踪的结尾---
在http://System.Management .Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(对象输入,哈希表errorResults,布尔值枚举)
在http://System.Management .Automation.Runspaces.LocalPipeline.InvokeHelper()
在http://System.Management .Automation.Runspaces.LocalPipeline.InvokeThreadProc()] [resourceGroupName = REMOVED] [runbookTriggerScope = User]
任何人都可以提供帮助解决此问题的任何帮助,将不胜感激.谢谢!
Hi, I am trying to troubleshoot an issue with the Update Management. I am getting failed deployments with the following error: Exception: 'Unable to find the specified file. (Unable to find the specified file.)'
Windows Event Viewer Warning Message (with subscription ID through runbookVersionID removed):
The Job state has changed to Failed. [subscriptionId={REMOVED}][accountId={REMOVED}][accountName=REMOVED][sandboxId={REMOVED}][jobId={REMOVED}][runbookDefinitionKind=PowerShell][runbookName=Patch-MicrosoftOMSComputer][runbookVersionId={REMOVED}][exception=http://System.Management .Automation.RuntimeException: Unable to find the specified file. ---> http://System.IO .FileNotFoundException: Unable to find the specified file.
at http://System.Management .Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
--- End of inner exception stack trace ---
at http://System.Management .Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
at http://System.Management .Automation.Runspaces.LocalPipeline.InvokeHelper()
at http://System.Management .Automation.Runspaces.LocalPipeline.InvokeThreadProc()][resourceGroupName=REMOVED][runbookTriggerScope=User]
Any assistance anyone could provide to help troubleshoot this issue would be most greatly appreciated. Thank you!
推荐答案
Also check out additional troubleshooting steps here
希望有帮助.
干杯.
这篇关于Azure OMS部署错误:“异常:无法找到指定的文件."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!