Get-SPSiteMaster

Devuelve la información de la página principal del sitio.

Syntax

Get-SPSiteMaster
   [-ContentDatabase] <SPContentDatabasePipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [<CommonParameters>]

Description

Use el cmdlet Get-SPSiteMaster para mostrar la información de la página principal de sitio de la granja de servidores.

Normalmente se muestra la siguiente información:

  • ContentDatabase

  • SiteId

  • TemplateName

  • Idioma

  • CompatibilityLevel

  • FeaturesToActivateOnCopy

Ejemplos

------------Ejemplo 1 -----------

Get-SPSiteMaster -ContentDatabase WSS_Content

En este ejemplo se devuelve la página principal de sitio de la base de datos WSS_Content.

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

-ContentDatabase

Especifica el nombre de la base de datos para obtener la lista de páginas principales de sitio. Por ejemplo, WSS_Content.

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

Entradas

Microsoft.SharePoint.PowerShell.SPContentDatabasePipeBind

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Salidas

System.Object