New-SPWebApplicationAppDomain

Crea una entrada AppDomain.

Syntax

New-SPWebApplicationAppDomain
   [-AppDomain] <String>
   -WebApplication <SPWebApplicationPipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-Confirm]
   [-Port <Int32>]
   [-SecureSocketsLayer]
   [-WhatIf]
   [-Zone <SPUrlZone>]
   [<CommonParameters>]

Description

Use el cmdlet New-SPWebApplicationAppDomain para crear una entrada AppDomain. Si especifica un puerto, el cmdlet agrega un enlace de puerto al sitio de Internet Information Services (IIS) correspondiente a la combinación aplicación web y zona.

Ejemplos

------------------EJEMPLO 1-----------------------

New-SPWebApplicationAppDomain -AppDomain contosoapps.com -WebApplication https://www.contoso.com

Crea un nuevo dominio de aplicación para aplicaciones para SharePoint para la aplicación web especificada en la zona predeterminada.

------------------EJEMPLO 2-----------------------

New-SPWebApplicationAppDomain -AppDomain contosoapps.com -WebApplication https://www.contoso.com -Zone Internet -Port 10000

Crea un nuevo dominio de aplicación para aplicaciones para SharePoint para la aplicación web especificada en la zona de internet en el puerto 10000.

Parámetros

- AssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

- Confirm

Solicitará confirmación antes de ejecutar el cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

- WhatIf

Muestra lo que ocurriría si se ejecuta el cmdlet. El cmdlet no se ejecuta.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-AppDomain

Especifica el URI del dominio de aplicación.

Type:String
Position:1
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Port

Specifies the IIS port number to which the app domain will be assigned. If no value is specified, the same port used by the web application for the zone is applied.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-SecureSocketsLayer

Especifica que el dominio de aplicación usará seguridad Secured Sockets Layer (SSL). Si no se especifica ningún valor, no se usará seguridad SSL.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-WebApplication

Especifica el GUID, la URI o el nombre de la aplicación web para la cual se está configurando el dominio de aplicación.

Type:SPWebApplicationPipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Zone

Especifica la zona de seguridad a la cual se asignará el dominio de aplicación.

  • Predeterminada

  • Intranet

  • Internet

  • Extranet

  • Personalizado

Si no se especifica un valor, se aplica el valor predeterminado.

Type:SPUrlZone
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

Entradas

System.String

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Salidas

System.Object