Unattended Installation of AD FS 2.0 Server
Unattended Installation of AD FS 2.0 Proxy
Unattended Initial Configuration of AD FS 2.0 Server
Unattended Initial Configuration of AD FS 2.0 Proxy
Installation of IIS 7.0 or IIS 7.5 (unattended)
Import certificate with private key into the local computer store (unattended)
Bind your SSL certificate to the Default Web Site (unattended)
Set oIIS = GetObject("winmgmts:root\WebAdministration") '''''''''''''''''''''''''''''''''''''''''''''' CREATE SSL BINDING'''''''''''''''''''''''''''''''''''''''''''''oIIS.Get("SSLBinding").Create _ "*", 443, "4dc67e0ca1d9ac7dd4efb3daaeb15d708c9184f8", "MY"
'''''''''''''''''''''''''''''''''''''''''''''' ADD SSL BINDING TO SITE'''''''''''''''''''''''''''''''''''''''''''''Set oBinding = oIIS.Get("BindingElement").SpawnInstance_oBinding.BindingInformation = "*:443:"oBinding.Protocol = "https" Set oSite = oIIS.Get("Site.Name='Default Web Site'")arrBindings = oSite.Bindings ReDim Preserve arrBindings(UBound(arrBindings) + 1)Set arrBindings(UBound(arrBindings)) = oBindingoSite.Bindings = arrBindings Set oPath = oSite.Put_
*Optional - Require SSL on the Default Web Site (unattended)