Check entities from multiple #ProjectOnline PWA instances using #PowerShell and CSOM #Office365

Interesante funcionalidad propuesta por el Sr Mather.
Posibles implementaciones:
– Validar campos entre instancias de PWA
– Validar estructuras de datos (bibliotecas y listas)
– Comparar listados de proyectos, para efectos de migración.
– Comparar configuraciones y listados de recursos

Todo ello es posible unicamente cambiando el objeto de la consulta y los campos devueltos por la misma.

Paul’s Project Server and Project Online Blog

This PowerShell script enables admins to read entities from from multiple Project Online Project Web App instances using CSOM. The particular example reads the list of Enterprise Custom fields but can easily be updated to display other entities such as projects. The script example can be downloaded here:

https://gallery.technet.microsoft.com/Check-entities-from-a1cb87e4

To get the script to work you will need to reference two DLLs as seen in the image below:

image

The first one is the ProjectSever Client DLL, as I ran this on my Project Server 2013 server so just referenced the default location of the DLL.

The second DLL is the SharePoint client DLL from the SharePoint Online Management Shell: https://www.microsoft.com/en-us/download/details.aspx?id=35588

Once the references to the DLL’s are updated the script can be run as seen below. Please note, this has only been tested in PowerShell 3.0 and might not work in other versions. I have seen issues in the past…

Ver la entrada original 224 palabras más

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

This site uses Akismet to reduce spam. Learn how your comment data is processed.