modules/deploy/dsc/ext/PsGallery/xWebAdministration.1.9.0.0/Examples/Sample_xSSLSettings_RequireCert.ps1
configuration Sample_xSSLSetting_RequireCert { param ( # Target nodes to apply the configuration [string[]]$NodeName = 'localhost' ) # Import the module that defines custom resources Import-DscResource -Module xWebAdministration Node $NodeName { xSSLSettings SiteDefaults { Ensure = 'Present' Name = 'contoso.com' Bindings = @('Ssl', 'SslNegotiateCert', 'SslRequireCert') } } } |