Administration of SharePoint 2010 through PowerShell Information Technology
Comandos Powershell para Sharepoint 2010
-
Upload
juan-astudillo -
Category
Technology
-
view
406 -
download
3
description
Transcript of Comandos Powershell para Sharepoint 2010
Por Juan Astudillo
Comandos Power shell para Sharepoint
Agregar Solution a Sharepoint
Con este comando podemos añadir un paquete a la granja o a un sitio en particular:
Prompt>Add-SPSolution -LiteralPath ‘<Path><Nombre del Package>.wsp‘
Ejemplo:Prompt>Add-SPSolution -LiteralPath 'C:\miswebparts\mypackage.wsp'
Actualizar Solution en Sharepoint
Con este comando podemos actualizar un package que se agrego al sharepoint:
Prompt>Update-SPSolution -Identity <Nombre del Package>.wsp -LiteralPath 'C:\path' -GACDeployment [-Force]
Ejemplo:Prompt>Update-SPSolution -Identity miwebpart.wsp -LiteralPath 'C:\miswebpart\' -GACDeployment [-Force]
Instalar Solution en Sharepoint
Con este comando podemos instalar un package que se agrego previamente a la granja sharepoint:
Prompt>Install-SPSolution -Identity <Nombre del Package>.wsp -GACDeployment [-Force]
Ejemplo:Prompt>Install-SPSolution -Identity miwebpart.wsp -GACDeployment [-Force]
Desintalar Solution en Sharepoint
Con este comando podemos desinstalar un package que se agrego previamente a la granja sharepoint:
Prompt>Uninstall-SPSolution -Identity <Nombre del Package>.wsp
Ejemplo:Prompt>Uninstall-SPSolution -Identity miwebpart.wsp
Remover Solution en Sharepoint
Con este comando podemos remover un package que se agrego previamente a la granja sharepoint, debe estar desintalado antes:
Prompt>Remove-SPSolution -Identity <Nombre del Package>.wsp
Ejemplo:Prompt>Remove-SPSolution -Identity miwebpart.wsp
Gracias
Microsoft Windows y Microsoft Sharepoint son marcas registradas de Microsoft Corporation. Todos los derechos reservados.
Presentación construida con software original Microsoft Windows y Microsoft Office.