Home » Microsoft » 70-345 » Which three commands should you use?
You need to configure the virtual directories for the Exchange Server organization.
Which three commands should you use? Each correct answer presents part of the solution.
A. Set-MapiVirtualDirectory -ExternalUrl “https://office-online.contoso.com/hosting/discovery”
B. Set-ActiveSyncVirtualDirectory -ExternalUrl “https://mail.contoso.com/Microsoft-Server-ActiveSync”
C. Set-WebServicesVirtualDirectory –ExternalUrl “https://mail.contoso.com/ews/exchange.asmx”
D. Set-AutodiscoverVirtualDirectory –ExternalUrl “https://autodiscover.contoso.com/autodiscover/autodiscover.xml”
E. Set-OwaVirtualDirectory –ExternalUrl “https://mail.contoso.com/owa”
Correct Answer: BCD
Explanation/Reference:
B: Use the Set-ActiveSyncVirtualDirectory cmdlet to modify existing Microsoft Exchange ActiveSync virtual directories that are used in Internet Information Services (IIS) on Exchange servers.
C: Use the Set-WebServicesVirtualDirectory cmdlet to modify existing Exchange Web Services virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers.
D: Use the Set-AutodiscoverVirtualDirectory cmdlet to configure Autodiscover virtual directories that are used in Internet Information Services (IIS) on Exchange servers.
Incorrect Answers:
A: Use the Set-MapiVirtualDirectory cmdlet to modify Messaging Application Programming Interface (MAPI) virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers. servers. A MAPI virtual directory is used by supported versions of Microsoft Outlook to connect to mailboxes by using the MAPIHTTP protocol.
E: Use the Set-OwaVirtualDirectory cmdlet to modify existingOutlook on the web virtual directories that are used in Internet Information Services (IIS) on Exchange servers.
References:
https://technet.microsoft.com/en-us/library/bb123679(v=exchg.160).aspx
https://technet.microsoft.com/en-us/library/aa998601(v=exchg.160).aspx
https://docs.microsoft.com/en-us/powershell/module/exchange/client-access-servers/set-autodiscovervirtualdirectory?view=exchange-ps
Set-AutodiscoverVirtualDirectory [-ExternalUrl ]
D is wrong
A parameter cannot be found that matches parameter name ‘ExternalUrl’.
So, BCE