Category: Administration
Get list of Site Collection Admins (SCA) using PowerShell
Requirement Generate a list of SCAs across all your SharePoint site collections. Solution function Get-SCA { param($site) $link = $site+"/_layouts/mngsiteadmin.aspx" $result = Invoke-WebRequest $link -UseDefaultCredentials $value = $result.AllElements | Where id -eq "ctl00_PlaceHolderMain_ctl00_PeopleEditorAdmins_OriginalEntities" | Select value $value = $value.value.split(">") | where { $_ -match "displaytext" } $value = $value.split("`"") | where { $_ […]
Continue Reading...Automatically download versions of a file in SharePoint to your computer
Requirement Download all versions of a file in SharePoint to a local folder on your computer. Solution Use the PowerShell script below to do this. You can run this script as a normal user as long as you have access to the GetVersions webservice method. Usage: Run the script in PowerShell or PowerShell ISE. Parameters: […]
Continue Reading...SharePoint 2010 Service Pack 2 no longer allows unresolvable e-mail addresses
Problem: Before Service Pack 2, you could specify an e-mail address in the cc’ field of a workflow form. After installing Service Pack 2, this is no longer possible and you will get the following error message and will not be able to submit the form: No exact match was found. Click the item(s) that […]
Continue Reading...SharePoint 2010 Service Pack 2 breaking scripts using SPServices / jquery
Problem: We have some scripts that use jQuery Library for SharePoint Web Services. After installing Service Pack 2 for SharePoint 2010, several of the scripts stopped working. Cause: We found that the script renamed the form control titles if the field was a mandatory field. For example: If you have a required /mandatory field called […]
Continue Reading...Documents opening in Offline Mode
Problem An excel document consistently opens in ‘offline’ mode. Cause If you are using your Office Document Cache as temporary storage for SharePoint files, the Office Document Cache may be corrupted. Solution Clear the Office Document Cache by: Go to Start -> All Programs -> Microsoft Office -> Microsoft Office 2010 Tools Run the ‘Microsoft […]
Continue Reading...