I am trying the below code to install the google chrome using DSC in 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
But am unable to install and got the below error.
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
Can any one help me how to solve it/