WebAdministrationDsc
WebAdministrationDsc copied to clipboard
xWebsite: No examples for AuthenticationInfo
I tried setting it up as
AuthenticationInfo = @(
MSFT_xWebAuthenticationInformation{
Anonymous = $true
}
)
And it fell hard on its face
I believe what its looking for will be similar to WebApplication:
https://github.com/PowerShell/xWebAdministration/blob/dev/Examples/Sample_xWebApplication.ps1#L30
Specifically:
AuthenticationInfo = `
MSFT_xWebApplicationAuthenticationInformation
{
Anonymous = $true
Basic = $false
Digest = $false
Windows = $false
}
Though it does look like we need to update the examples. I have a branch that is doing some of this so I'll assign the issue to myself.