Wednesday, August 29, 2012

Run ps1 Powershell files

Open SharePoint 2010 Management Shell (run as administrator)

cd \
.\Powershell\NameOfFile.ps1

Put functions in there rather than having to copy paste from txt file.

Currently have ps1 files for:
Updating Photo Store - sync images to SharePoint from AD
Update AD Group Work Email attribute - doesn't sync correctly from AD
Profile Sync - user attributes don't get updated with automatic sync sometimes