February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You need to change the zone of an existing alternate access mapping.
Solution: Use the Set-SPAlternateURL cmdlet.
The Set-SPAlternateURL enables you to modify the zone. This is the only setting that you can modify using the cmdlet. The -Zone parameter can be one of the following:
• Default
• Intranet
• Internet
• Extranet
• Custom
Listing 5.10 shows an example command line.
Listing 5.10. Changing the Zone of an Alternate Access Mapping
Set-SPAlternateURL -Identity "http://intranet.sp2013.com" -Zone Intranet
The -Identity parameter can be the incoming URL or a variable identifying the alternate access mapping (using the Get-SPAlternateURL cmdlet).
Note
If the alternate access ...
Read now
Unlock full access