无法执行winrm quickconfig

时间:2016-08-25 17:11:44

标签: powershell powershell-remoting dsc

我无法解决Windows 10计算机中的以下Powershell远程处理错误。

首先,我试图执行以下操作。

PS: >Start-DscConfiguration -Wait -Verbose -Force -Path $outPath    
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConf
igurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting 
requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the 
destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm 
quickconfig".
    + CategoryInfo          : ConnectionError: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : HRESULT 0x80338012
    + PSComputerName        : localhost

所以我通过执行它来做它的建议。

PS: >winrm quickconfig
WinRM service is already running on this machine.
winrm : WSManFault
At line:1 char:1
+ winrm quickconfig
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (WSManFault:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

    Message
        ProviderFault
            WSManFault
                Message = More data is available. 
Error number:  -2147024662 0x800700EA
More data is available. 

感谢您的帮助

0 个答案:

没有答案