I have a site in IIS 7.5 that is Windows Authenticated. In Powershell, I can get to the item by the following code:
$authentications = Get-Webconfiguration -filter "system.webServer/security/authentication/*" -PSPath "IIS:\Sites\testsite"
I can then look up the windows authentication with this line:
$fiver = $authentications
I can see that NTLM and Negotiate are set by looking in the providers collection:
But the item at position 0 is Negotiate and the item at position 1 is NTLM. Looking at the IIS UI, NTLM is before Negotiate. I don't see any properties on the individual items to designate an order. Where is this property in Powershell? In IIS, I can specify which provider to use first. In Powershell, I haven't been able to order the use of the providers.