The Set-SPWebApplication cmdlet configures the Web application specified by the Identity parameter. For any settings that are zone-specific (for the Zone parameter set), the zone to configure must be provided. The provided zone must already exist.
This example sets the
HostHeader URL for the
Extranet zone of the given Web application as
http://www.justsharepoint.com and enables anonymous access.