SharePoint Online: How to deal with permissions and permissions levels using the Client Side Object Model and PowerShell (I)!

Some days ago, an Office 365 Technical Network member (https://www.yammer.com/itpronetwork/) asked about best practices and recommendations to work with permissions and permissions levels in SharePoint Online using PowerShell. My answer to that question was actually quite straightforward: well, by default in SharePoint Online we have only 30 cmdlets (http://technet.microsoft.com/es-es/library/fp161364(v=office.15).aspx), so you could find some limitations when you want to do some common operations in your SharePoint Online sites using PowerShell. So…does it mean I cannot work with permissions and permissions levels in SharePoint Online using PowerShell? Of course not, additionally to the default cmdlets to work with Groups in SharePoint Online, you have the possibility of using the Client Side Object Model (CSOM) in PowerShell what significantly increases your choices to do really cool things when working with your sites from the comman line tool. Indeed, there is a great post written by Steve Peschka where you can see how to work with permissions and permissions levels using CSOM and PowerShell: http://blogs.technet.com/b/speschka/archive/2009/11/01/using-the-sharepoint-2010-client-object-model-part-5.aspx. If you need additional information about how to use the CSOM in PowrShell, I reccommed you to read the article I have written for CompartiMOSS magazine (www.compartimoss.com, issue # 21) and also to download the following PowerShell Script I have shared in the TechNet Scripts Gallery: How to get all the sites under a SharePoint Online Site Collection

SharePoint Online: Como trabajar con permisos y niveles de permisos con el modelo de objetos en cliente y PowerShell(I)!

El otro día preguntaban en la Office 365 Technical Network sobre una forma de poder trabajar con permisos y niveles de permisos por medio de PowerShell en sitios de SharePoint Online…a lo que yo contesté que por defecto no tenemos todos los comandos PowerShell que podemos para poder obtener esa información de forma directa como bien podéis ver en la siguiente referencia de TechNet: http://technet.microsoft.com/es-es/library/fp161364(v=office.15).aspx. ¿Significa eso que no podemos usar PowerShell para trabajar con permisos y niveles de permisos? Por supuesto que no, porque desde PowerShell podemos hacer uso del modelo de objetos en cliente que contiene todo lo necesario para trabajar con permisos, niveles de permisos, usuarios y roles en un sitio de SharePoint como se explica perfectamente en el siguiente post de Steve Peschka: http://blogs.technet.com/b/speschka/archive/2009/11/01/using-the-sharepoint-2010-client-object-model-part-5.aspx. Si queréis ver como trabajar con el modelo de objetos en cliente por medio de PowerShell, os recomiendo leer el artículo al respecto publicado en el # 21 de CompartiMOSS (www.compartimoss.com)  y descargaros el siguiente script publicado en la Galería de Scripts de TechNet: How to get all the sites under a SharePoint Online Site Collection