none
I need to set default domain for windows authentication in IIS7 via poweshell scripts RRS feed

  • Question

  • Hello we have WCF Service deployed IN IIS and need to set Default Domain for Basic Authentication Via Powershell commands.

    IIS->DefaultWebsite->WCFService->Authentication-Basic->Edit->Set Default Name


    anagh

    • Moved by CoolDadTx Thursday, November 29, 2018 3:04 PM ASP.NET related
    Thursday, November 29, 2018 6:56 AM

Answers

  • set-webconfigurationproperty "//system.webServer/security/authentication/BasicAuthentication" -PSPath IIS:\ -Location "Default Web Site/WCFSERVICENAME"  -name defaultLogonDomain -value $Computername

    This can be solved by this statement


    anagh

    • Marked as answer by Anagh Wednesday, December 5, 2018 7:32 AM
    Wednesday, December 5, 2018 7:32 AM

All replies

  • Please post questions related to IIS in the ASP.NET forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Thursday, November 29, 2018 3:04 PM
  • set-webconfigurationproperty "//system.webServer/security/authentication/BasicAuthentication" -PSPath IIS:\ -Location "Default Web Site/WCFSERVICENAME"  -name defaultLogonDomain -value $Computername

    This can be solved by this statement


    anagh

    • Marked as answer by Anagh Wednesday, December 5, 2018 7:32 AM
    Wednesday, December 5, 2018 7:32 AM