In a new project I’m working on I had to create a new Content Type and make it available on all the document libraries in the site collection. I had to choices: browse each document library’s settings page and enable the content type via the UI or let PowerShell do it for me. Since I’m really lazy I chose the scripting way.
A few days ago I published the script on TechNet Gallery, “Enabling content type on multiple lists with PowerShell“. As you can imagine the script enables a content type on each document library in a site collection. It takes three parameters: site, name and list.
Happy new year everyone!! A few days before the end of the year I published a new script on TechNet Gallery about how to populate a SharePoint group reading from User Profiles using Windows Powershell.
I chose to read from User Profiles instead of querying Active Directory because user profiles could have more information than AD since we could add a synchronization connection that reads from BCS or other sources. (more…)
A couple of days ago I noticed a tweet in the #SPHelp feed that called my attention. Here it is:
I was sure that I already used a Powershell script to do that, but when I found and tried it I noticed that all the resulting rows reported only ErrorWebPart. (more…)
Should I make my blog “global” or keep it “local”? This is something I’ve been wondering about for a long time. Now it’s time to cross the line and so here we are: this is my first “non-Italian” post (I don’t pretend to call it “English” yet).
Today I published a new Powershell script on Technet Gallery (http://gallery.technet.microsoft.com/Powershell-script-to-09ffa974) that allows you to update the SharePoint 2013 search schema exporting, importing and deleting managed properties. (more…)
Powershell e la Search Service Application sono, da un pò di tempo a questa parte, al centro delle mie attività in diversi progetti. Per evitare di dover ripetere manualmente gli stessi passaggi nel deploy tra ambienti diversi (sviluppo – test – produzione) ho creato uno script per automatizzare la creazione “massiva” delle managed property via Powershell. (more…)