Get-DscConfiguration报告最近3天正在进行一致性检查 [英] Get-DscConfiguration reports consistency check is in Progress for last 3 days

查看:60
本文介绍了Get-DscConfiguration报告最近3天正在进行一致性检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我想知道在进行3-4天的一致性检查时,引擎盖下发生了什么.

I am wondering what is happening under the hood as Consistency Check is in progress is being reported for last 3-4 days.

PS C:\OnlyOnMyPC\azure-automation> Get-DscConfiguration
Get-DscConfiguration : Cannot invoke the Get-DscConfiguration cmdlet. The Consistency Check or Pull cmdlet is in progress and must
return before Get-DscConfiguration can be invoked. Use -Force option if that is available to cancel the current operation.
At line:1 char:1
+ Get-DscConfiguration
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_DSCLocalConfigurationManager:root/Microsoft/...gurationManager) [Get-DscConfigurat
   ion], CimException
    + FullyQualifiedErrorId : MI RESULT 1,Get-DscConfiguration

PS C:\OnlyOnMyPC\azure-automation>

Get-DscLocalConfigurationManager报告以下错误

Get-DscLocalConfigurationManager reports the below error

PS C:\OnlyOnMyPC\azure-automation> Get-DscLocalConfigurationManager


ActionAfterReboot              : ContinueConfiguration
AgentId                        : BD46B63B-BD33-11E8-92D9-8CDCD4247D7F
AllowModuleOverWrite           : False
CertificateID                  :
ConfigurationDownloadManagers  : {}
ConfigurationID                :
ConfigurationMode              : ApplyOnly
ConfigurationModeFrequencyMins : 15
Credential                     :
DebugMode                      : {ForceModuleImport, ResourceScriptBreakAll}
DownloadManagerCustomData      :
DownloadManagerName            :
LCMCompatibleVersions          : {1.0, 2.0}
LCMState                       : Busy
LCMStateDetail                 : LCM is performing a consistency check.
LCMVersion                     : 2.0
StatusRetentionTimeInDays      : 10
SignatureValidationPolicy      : NONE
SignatureValidations           : {}
MaximumDownloadSizeMB          : 500
PartialConfigurations          :
RebootNodeIfNeeded             : False
RefreshFrequencyMins           : 30
RefreshMode                    : PUSH
ReportManagers                 : {}
ResourceModuleManagers         : {}
PSComputerName                 :

我已在其他服务器上应用了DSC配置,看到它运行几天已经很不寻常了.

I have applied DSC Configuration on other server and it's very unusual to see it running for few days.

到底是什么问题?当然,某些事物正在等待或在后端具有锁定,以使其成为< g class ="gr_gr_439 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id ="439". id ="439"> in 此</g>现在状态.

What exactly is the issue? Surely something is waiting or having a lock at the backend for it to be <g class="gr_ gr_439 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="439" id="439">in  this</g> state now.

请协助.

谢谢.

推荐答案

我做到了:

PS C:\OnlyOnMyPC\azure-automation> Get-Process -Id


dscProcessID 处理NPM(K)PM(K)WS(K)CPU ID SI ProcessName ------- ------ ---------- ------------------- 694 32 75416 26664 0.84 5528 0 WmiPrvSE PS C:\ OnlyOnMyPC \ azure-automation> Get-Process -Id
dscProcessID Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName ------- ------ ----- ----- ------ -- -- ----------- 694 32 75416 26664 0.84 5528 0 WmiPrvSE PS C:\OnlyOnMyPC\azure-automation> Get-Process -Id


dscProcessID |停止程序 确认 您确定要对以下项目执行停止过程"操作:WmiPrvSE(5528)? [Y]是[A]对所有人[N]否[L]对所有人[S]暂停[?]帮助(默认为"Y"): PS C:\ OnlyOnMyPC \ azure-automation> Get-Process -Id
dscProcessID| Stop-Process Confirm Are you sure you want to perform the Stop-Process operation on the following item: WmiPrvSE(5528)? [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): PS C:\OnlyOnMyPC\azure-automation> Get-Process -Id


这篇关于Get-DscConfiguration报告最近3天正在进行一致性检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆