The steps to extend a Web application using Windows-classic authentication in Windows PowerShell is as follows:
· On the Start menu, click All Programs.
· Click Microsoft SharePoint 2010 Products.
· Click SharePoint 2010 Management Shell.
· To extend a Web application to the same port, but with a different host header, at the Windows PowerShell command prompt, type the following command:
Get-SPWebApplication –Identity <Identity> | New-SPWebApplicationExtension -Name
<Name> -HostHeader <HostHeader> -Port <Port> -Zone <Zone> -URL <URL>
Where:
· <Identity> is the Web application that you want to extend.
· <Name> is the name of the new IIS Web site in the Web application.
· <HostHeader> is the host name assigned to this zone of the Web application.
· <Port> is the port on which this zone of the Web application can be accessed.
· <Zone> is the zone with which this new extension is to be associated.
· <URL> is the public URL for this Web application zone.
No comments:
Post a Comment