Chapter 6: Confi guring the Client Access Server Role
179
Remove-AutodiscoverVirtualDirectory -Identity < VirtualDirectoryIdParameter >
[-DomainController < Fqdn > ]
Once the old virtual directory is removed, create the new one with the
New-AutodiscoverVirtualDirectory cmdlet:
New-AutodiscoverVirtualDirectory [-ApplicationRoot < String > ]
[-AppPoolId < String > ] [-BasicAuthentication < $true | $false > ] [-Confirm
[ < SwitchParameter > ]] [-DigestAuthentication < $true | $false > ]
[-DomainController < Fqdn > ] [-ExternalUrl < Uri > ] [-InternalUrl < Uri > ]
[-Path < String > ] [-TemplateInstance < PSObject > ] [-WebSiteName < String > ]
[-WhatIf [ < SwitchParameter > ]] [-WindowsAuthentication < $true | $false > ]
For example, to create a new Autodiscover virtual directory named Autodiscover.exchangexchange
.com that requires Integrated and Digest authentication, run the cmdlet:
New-AutodiscoverVirtualDirectory -WebSiteName ???Autodiscover.exchangeexchange.com??? -
WindowsAuthentication:$true -DigestAuthentication:$true
It is possible to test Autodiscover services with Outlook 2007. Once Outlook 2007 is running, hold CRTL
while right - clicking the Outlook icon in the system tray. A Test E - mail AutoConfiguration option is
available, as shown in Figure 6 - 10 .
Figure 6-10
Part II: Working with Server Roles
180
Another option is to run the Test-OwaConnectivity cmdlet.
Pages:
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279