Examples/Resources/xSslSettings/Sample_xSslSettings_RequireCert.ps1
configuration Sample_xSslSettings_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') } } } |