Я пытаюсь использовать приведенный ниже код для установки Google chrome с использованием DS C в azure.
Configuration InstallGoogleChorme
{
Import-DscResource –ModuleName 'PSDesiredStateConfiguration'
Node installChrome
{
#Google Chorme
Package Chorme
{
Ensure = 'Present'
Name = 'Google Chrome'
Path = 'C:\Users\google\Desktop\ChromeSetup.exe'
ProductId = ''
Arguments = '/silent /install'
}
}
}
InstallGoogleChorme -OutputPath C:\
Start-DscConfiguration -Path c:\ -Wait -Verbose -Force
Но я не могу установить и получил следующую ошибку.
The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more information about that by running the following command: winrm help config. + CategoryInfo : NotEnabled: (root/Microsoft/...gurationManager:String) [], CimException + FullyQualifiedErrorId : HRESULT 0x803380e4 + PSComputerName : installChrome
Может ли кто-нибудь помочь мне, как ее решить /