SharePoint site design: PowerShell cmdlets (Creación de diseños de sitio de SharePoint: cmdlets de PowerShell)SharePoint site design: PowerShell cmdlets

Nota

Se han publicado diseños y scripts de sitio para producción y están disponibles para su uso general.Site designs and site scripts have been released to production and are available for general use.

Use cmdlets de PowerShell para crear, recuperar y quitar diseños de sitio y scripts de sitio en colecciones de sitios nuevas y existentes.Use PowerShell cmdlets to create, retrieve, update, and remove site designs and site scripts to new and existing modern site collections.

IntroducciónGetting started

Para ejecutar cmdlets de PowerShell, necesitará seguir este procedimiento:To run the PowerShell cmdlets, you'll need to do the following:

  1. Descargue e instale el Shell de administración de SharePoint Online.Download and install the SharePoint Online Management Shell. Si ya tiene una versión anterior del shell instalada, desinstálela primero y, después, instale la versión más reciente.If you already have a previous version of the shell installed, uninstall it first and then install the latest version.

  2. Siga las instrucciones de Conectarse a SharePoint Online PowerShell para conectarse al espacio empresarial de SharePoint.Follow the instructions at Connect to SharePoint Online PowerShell to connect to your SharePoint tenant.

Para comprobar la configuración, intente usar el cmdlet Get-SPOSiteScript para leer la lista actual de scripts de sitio.To verify your setup, try using the Get-SPOSiteScript cmdlet to read the current list of site scripts. Si se ejecuta el cmdlet y no devuelve ningún error, estará preparado para continuar.If the cmdlet runs and returns with no errors, you're ready to proceed.

Cmdlets de diseño de sitioSite design cmdlets

Los cmdlets siguientes están disponibles para administrar diseños de sitio y scripts de sitio desde PowerShell:The following cmdlets are available for managing site designs and site scripts from PowerShell:

  • [Add-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Add-SPOSiteDesign?view=sharepoint-ps)[Add-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Add-SPOSiteDesign?view=sharepoint-ps)
  • [Add-SPOSiteDesignTask](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Add-SPOSiteDesignTask?view=sharepoint-ps)[Add-SPOSiteDesignTask](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Add-SPOSiteDesignTask?view=sharepoint-ps)
  • [Add-SPOSiteScript](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Add-SPOSiteScript?view=sharepoint-ps)[Add-SPOSiteScript](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Add-SPOSiteScript?view=sharepoint-ps)
  • [Get-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesign?view=sharepoint-ps)[Get-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesign?view=sharepoint-ps)
  • [Get-SPOSiteDesignRights](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesignRights?view=sharepoint-ps)[Get-SPOSiteDesignRights](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesignRights?view=sharepoint-ps)
  • [Get-SPOSiteDesignRun](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesignRun?view=sharepoint-ps)[Get-SPOSiteDesignRun](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesignRun?view=sharepoint-ps)
  • [Get-SPOSiteDesignRunStatus](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesignRunStatus?view=sharepoint-ps)[Get-SPOSiteDesignRunStatus](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesignRunStatus?view=sharepoint-ps)
  • [Get-SPOSiteDesignTask](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesignTask?view=sharepoint-ps)[Get-SPOSiteDesignTask](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteDesignTask?view=sharepoint-ps)
  • [Get-SPOSiteScript](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteScript?view=sharepoint-ps)[Get-SPOSiteScript](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteScript?view=sharepoint-ps)
  • [Get-SPOSiteScriptFromList](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteScriptFromList?view=sharepoint-ps)[Get-SPOSiteScriptFromList](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Get-SPOSiteScriptFromList?view=sharepoint-ps)
  • [Grant-SPOSiteDesignRights](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Grant-SPOSiteDesignRights?view=sharepoint-ps)[Grant-SPOSiteDesignRights](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Grant-SPOSiteDesignRights?view=sharepoint-ps)
  • [Invoke-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Invoke-SPOSiteDesign?view=sharepoint-ps)[Invoke-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Invoke-SPOSiteDesign?view=sharepoint-ps)
  • [Remove-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Remove-SPOSiteDesign?view=sharepoint-ps)[Remove-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Remove-SPOSiteDesign?view=sharepoint-ps)
  • [Remove-SPOSiteDesignTask](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Remove-SPOSiteDesignTask?view=sharepoint-ps)[Remove-SPOSiteDesignTask](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Remove-SPOSiteDesignTask?view=sharepoint-ps)
  • [Remove-SPOSiteScript](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Remove-SPOSiteScript?view=sharepoint-ps)[Remove-SPOSiteScript](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Remove-SPOSiteScript?view=sharepoint-ps)
  • [Revoke-SPOSiteDesignRights](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Revoke-SPOSiteDesignRights?view=sharepoint-ps)[Revoke-SPOSiteDesignRights](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Revoke-SPOSiteDesignRights?view=sharepoint-ps)
  • [Set-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOSiteDesign?view=sharepoint-ps)[Set-SPOSiteDesign](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOSiteDesign?view=sharepoint-ps)
  • [Set-SPOSiteScript](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOSiteScript?view=sharepoint-ps)[Set-SPOSiteScript](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOSiteScript?view=sharepoint-ps)

Vea tambiénSee also