CmdID / PowerShell / Cmdlets / New
New-AutodiscoverVirtualDirectory
Use the New-AutodiscoverVirtualDirectory cmdlet to create Autodiscover virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers. Exchange PowerShell reference
From the Exchange PowerShell reference 19 parameters Its page in the reference
Parameters
Show its 19 parameters
-ApplicationRootThe ApplicationRoot parameter specifies the metabase path of the virtual directory.-AppPoolIdThe AppPoolId parameter specifies the IIS application pool in which the virtual directory runs.-BasicAuthenticationThe BasicAuthentication parameter specifies whether Basic authentication is enabled on the virtual directory.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DigestAuthenticationThe DigestAuthentication parameter specifies whether Digest authentication is enabled on the virtual directory.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-ExtendedProtectionFlagsThe ExtendedProtectionFlags parameter specifies custom settings for Extended Protection for Authentication on the virtual directory.-ExtendedProtectionSPNListThe ExtendedProtectionSPNList parameter specifies a list of valid Service Principal Names (SPNs) if you're using Extended Protection for Authentication on the virtual directory.-ExtendedProtectionTokenCheckingThe ExtendedProtectionTokenChecking parameter specifies whether Extended Protection for Authentication is used for client connections to the virtual directory.-ExternalUrlThe ExternalURL parameter specifies the URL that connects to the virtual directory from outside the firewall.-InternalUrlThe InternalURL parameter specifies the URL that connects to the virtual directory from inside the firewall.-OAuthAuthenticationThe OAuthAuthentication parameter specifies whether OAuth authentication is enabled on the virtual directory.-PathThe Path parameter specifies the file system path of the virtual directory.-RoleThe Role parameter species the configuration for the virtual directory.-ServerThe Server parameter specifies the Exchange server that hosts the virtual directory.-WebSiteNameThe WebSiteName parameter specifies the name of the IIS website under which the virtual directory is created.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.-WindowsAuthenticationThe WindowsAuthentication parameter specifies whether Integrated Windows authentication is enabled on the virtual directory.-WSSecurityAuthenticationThe WSSecurityAuthentication parameter specifies whether WS-Security (Web Services Security) authentication is enabled on the virtual directory.