SSD: el síndrome de la Sharepoint dependencia

Sharepoint me proporciona seguridad y me hace sentir más fuerte. Las 10 cosas que más me gustan de Sharepoint.

10 puntos para entender a Project Server 2010

Microsoft Project es quizá la herramienta de gestión de proyectos más conocida y utilizada por los líderes de proyectos...

Diseño Gráfico en SharePoint

Serie de artìculos que nos ayudan a incorporar diseño gráfico en las implementaciones de SharePoint...

Revista CompartiMOSS

Artículos publicados en la revista especializada en SharePoint: CompartiMOSS.

Contacto

Enviame un correo :-)

Mostrando entradas con la etiqueta PowerShell. Mostrar todas las entradas
Mostrando entradas con la etiqueta PowerShell. Mostrar todas las entradas

martes, 7 de mayo de 2013

miércoles, 18 de abril de 2012

Abrir archivos PDF en SharePoint 2010

No dejen de ver este script propuesto por Juan Manuel Herrera para automatizar esta tarea con Power Shell:
Script para permitir a las bibliotecas abrir los archivos PDFS en SharePoint 2010

viernes, 24 de febrero de 2012

Bloquear el acceso a una colección de sitios en #SharePoint 2010 con #PowerShell

Gustavo nos explica en su blog como bloquear el acceso a una colección de sitios, utilizando PowerShell:

Set-SPSite -Identity http://servidor -LockState "ReadOnly"

Leer el artículo completo en: http://www.gavd.net/servers/sharepointv4/spsv4_item.aspx?top=4&itm=1418

Ocultar columnas en formularios de #SharePoint

No dejen de leer este post de Juan Carlos en donde encontraremos varios links para cumplir con este requerimiento con distintas opciones: PowerShell, Tipos de contenido, JavaScript, InfoPath y programáticamente.
Recomendado: http://geeks.ms/blogs/ciin/archive/2012/02/20/sharepoint-2010-ocultar-des-ocultar-campos-de-formulario-de-lista-i.aspx

lunes, 13 de febrero de 2012

sábado, 5 de noviembre de 2011

Project Server y PowerShell

Una de las posibilidades más interesantes respecto a la administración de Project Server 2010 es que ahora podemos utilizar PowerShell para algunas tareas de configuración. Les dejo el enlace de MSDN con la referencia:

http://technet.microsoft.com/en-us/library/ee890097.aspx.

Transcribo una parte:

Get-SPProjectWebInstance

Returns an instance of a Project Server Service application.

New-SPProjectServiceApplication

Creates a new Project Server Service application.

New-SPProjectServiceApplicationProxy

Creates a proxy for a Project Server Service application.

New-SPProjectSiteAdministrator

Creates a Microsoft Project Server 2010 administrator account for the requested user.

New-SPProjectWebInstance

Creates a new instance of a Project Server Service application.

Remove-SPProjectSiteAdministrator

Removes an account from a Microsoft Project Web App (PWA) instance.

Remove-SPProjectWebInstance

Deletes an instance of a Project Server Service application.

Set-SPProjectServiceApplication

Sets properties of a Project Server Service application.

Set-SPProjectWebInstance

Sets the properties of an instance of a Project Server Service application.

Upgrade-SPProjectWebInstance

Upgrades a single Project Web App site.

Qué lo disfruten!

viernes, 28 de octubre de 2011

Copiar listas de SharePoint con PowerShell

Vean este interesante artículo: http://get-spscripts.com/2011/10/copy-sharepoint-lists-and-document.html.

Transcribo:

This article is the first in a series on exporting and importing SharePoint objects using the Content Deployment API and PowerShell. I’m not going to cover the API itself, as there are lots of articles doing this already, notably this series from Stefan Goßner and MSDN, which I would urge you to check out for more details.

You can achieve some of this functionality with the Export-SPWeb and Import-SPWeb cmdlets provided with SharePoint 2010, but a) these are not available with SharePoint 2007 and b) using the Content Management API directly provides access to extra capabilities. I have written these scripts to work on SharePoint 2007 and 2010 (WSS and Foundation included), although to date I have only tested them on SharePoint Server 2010.

This first article provides a couple of functions for exporting a list or document library and all items contained within it from one site and importing it into another site. The destination site can be in a different site collection, web application and even farm. I have provided command parameters for what I think will be the most popular configuration options, but as we have full access to the API, the scripts can be adapted to suit requirements.

Continuar leyendo en: http://get-spscripts.com/2011/10/copy-sharepoint-lists-and-document.html.

martes, 2 de agosto de 2011

Manejadores de eventos desde PowerShell en SharePoint 2010

Los manejadores de eventos son una de mis funcionalidades favoritas de SharePoint, ya que permiten resolver cuestiones de negocio. Si no conocen el tema, les dejo un breve screencast que armé hace un tiempo: http://surpoint.blogspot.com/2010/10/manejadores-de-eventos-en-sharepoint.html.

imagePero si lo conocen, seguramente tomarán como buena noticia que en SharePoint 2010 podemos podemos adjuntar los eventos a una lista desde PowerShell. Realmente esto facilita el despliegue de los mismos. ¿Cómo hacerlo? Está explicado en este artículo de SolidQ que pueden leer en: http://blogs.solidq.com/sharepoint/Post.aspx?ID=80&title=How+to+add/delete+an+event+receiver+to+a+single+list+with+PowerShell+in+SharePoint+2010

Espero que les sea útil. Saludos!

miércoles, 18 de mayo de 2011

¿Cómo ocultar campos en Sharepoint 2010 usando PowerShell?

Hola a todos, en una reciente implementación sobre Sharepoint 2010, me encontré con el pedido del usuario que ciertos campos que corresponden a la lista, no deberían estar disponibles al dar de alta un nuevo elemento en la lista. Esta misma problemática la habíamos tenido en Sharepoint 2007 y una forma elegante y fácil de hacerlo era usando JQuey y Javascrip (Preseleccionar u ocultar valores en las pantallas de alta).

Ahora bien, para Sharepoint 2010 estamos utilizando el poder de PowerShell integrado con Sharepoint 2010. Lo que tienen que hacer es tomar un editor de texto y generar un archivo PS1 con las siguientes instrucciones:

#Abro el sitio
$site = new-object Microsoft.SharePoint.SPSite("
http://MiServidor")
$web = $site.OpenWeb()
#Abro la lista 
$list = $web.Lists["MiLista"]
#Configuro Columna1, en este caso la columna no se ve en ningún formulario standard. 
$field = $list.Fields["Columna1"]
$field.ShowInNewForm = 0
$field.ShowInEditForm = 0
$field.ShowInDisplayForm = 0
$field.Update()
#set Columna2, en este caso, inhabilito la columna sólo para el alta.
$field = $list.Fields["Columna2"]
$field.ShowInNewForm = 0
$field.Update()
#Update y Dispose
$list.Update()
$web.Dispose()
$site.Dispose()

Luego lo ejecutan para el sitio correspondiente, y listo. Una forma sencilla de ocultar campos y con las herramientas que provee Sharepoint 2010.

Hasta el próximo truco.

viernes, 9 de julio de 2010

jueves, 6 de mayo de 2010