You can view this SCP using "Active Directory Sites and Services" after you have enabled the “View Services Node” option
Get-AutodiscoverVirtualDirectory
New-AutodiscoverVirtualDirectory
Example:
New-AutoDiscoverVirtualDirectory -websitename "autodiscover.contoso.com" -WindowsAuthentication $true -DigestAuthentication $true
Remove-AutodiscoverVirtualDirectory
Example:
Remove-AutodiscoverVirtualDirectory -Identity "MyServer\autodiscover(autodiscover.contoso.com)"
Set-AutoDiscoverVirtualDirectory
Example:
Set-AutoDiscoverVirtualDirectory -Identity autodiscover(default web site) -WindowsAuthentication $false -BasicAuthentication $false -DigestAuthentication $true
Get-OutlookProvider
Example:
Test-OutlookWebServices -ClientAccessServer "CASServer01"
If your organization has multiple e-mail domains and each requires its own Autodiscover site and corresponding virtual directory
New-OutlookProvider
creates the AutoDiscoverConfig object under the Global Settings object in the Active Directory directory service and sets the attributes specified in the Parameters section.
Example:
New-OutlookProvider -Name MyOABUrl
Remove-OutlookProvider
Example:
Remove-OutlookProvider -Identity "Test Object"
Set-OutlookProvider
Example:
Set-OutlookProvider -Identity msExchAutoDiscoverConfig -TTL 2