TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Internet Explorer
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Lync
See all products »
Resources
Curah! curation service
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Subscriptions
TechNet Video
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Microsoft Update
Trials
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Related Sites
Microsoft Download Center
TechNet Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
e-Learning overview
Certifications
Certification overview
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Other resources
TechNet Events
Second shot for certification
Born To Learn blog
Find technical communities in your area
Support options
For small and midsize businesses
For enterprises
For developers
For IT professionals
From partners
For technical support
Support offerings
For home users
More support
Microsoft Premier Online
Microsoft Fix It Center
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
FromTheField
Real world experiences of SharePoint PFE and CTS engineers from Microsoft UK
Tags
Administration
Capacity Planning
Community Site
Content By Search
CSOM
Display Templates
Hybrid
Language Packs
MOSS 2007
O365
Office 365
Performance
Powershell
Recovery
SharePoint
SharePoint 2010
SharePoint 2013
SharePoint Online
SharePoint Server 2013
Sizing
Troubleshooting
useless work
WORKFLOW
Browse by Tags
TechNet Blogs
»
FromTheField
»
All Tags
»
powershell
Related Posts
Blog Post:
SharePoint Update Deployment - Automating Parallel Content Database Upgrades
Brendan Griffin
I recently helped a customer to deploy a Cumulative Update to their SharePoint environment, due to the amount of content hosted within the farm the customer uses the approach of detaching all content databases, upgrading the farm and then re-attaching and upgrading all content databases afterwards, this...
on
13 Jan 2015
Blog Post:
Export Members of a SharePoint Audience
Brendan Griffin
Here is a quick PowerShell script that I put together for a customer to enable them to export the usernames and e-mail addresses of all users that are members of a specific SharePoint Audience to a CSV file. Please update the three highlighted values, $Output is the location to write the CSV file...
on
24 Jul 2014
Blog Post:
SharePoint Maintenance
Brendan Griffin
From time to time you may need to temporarily make SharePoint unavailable due to applying a CU, Service Pack etc. One of my customers places an App_Offline.htm file at the root of the IIS Virtual Directory for each Web Application on each WFE server within their farm, this presents users with a nice...
on
4 Jul 2014
Blog Post:
SharePoint 2010 Organization Browser - Expose more than just User, Title and About Me (Sort Of).
Andy Day [MSFT]
One of my favourite customers was very keen to display the OOB Organisation Browser web part on several of their pages but they wanted to expose more than the default values against the user. I know this can be done by clicking across to the users profile page but the extra click was not acceptable....
on
4 Jul 2014
Blog Post:
Sizing SharePoint - The 2nd stage Site collection recycle bin
Hatzi74
One of my customers asked me about the impact about the 2nd stage recycle bin on sizing a new farm. They were concerned that the default value of 50% of the current site quota could have a negative impact on sizing the farm and could influence the expected size of the contentDBs. This setting can be...
on
3 Apr 2014
Blog Post:
SharePoint 2013 - December CU - Exception: No mapping between account names and security IDs was done
Brendan Griffin
I was recently helping a colleague to troubleshoot an issue that he was running into whilst deploying the December 2013 CU for SharePoint 2013, the following error was being logged in the upgrade log. Exception: No mapping between account names and security IDs was done 00000000-0000-0000-0000-000000000000...
on
6 Mar 2014
Blog Post:
Office 365 - Output Managed Metadata Term Sets and Terms using CSOM with PowerShell
Brendan Griffin
This PowerShell script will connect to an O365 SharePoint tenant and output the following information to the console from the Managed Metadata Term Store: Groups Term Sets Terms As with my previous CSOM scripts, this is more a sample to get you started than something you would use in...
on
3 Mar 2014
Blog Post:
PowerShell Snippets
Steve Jeffery
PowerShell Snippets As Premier Field Engineers, we often find that our customers need assistance creating PowerShell scripts that can help automate administrative processes; or retrieve information from their various SharePoint farms. Whilst each of our customers are different and have unique environments;...
on
28 Feb 2014
Blog Post:
Office 365 - Retrieve User Profile Properties using CSOM with PowerShell
Brendan Griffin
Update 12/04/14 - I have added an example that demonstrates how to export User Profile Properties to a CSV file at the end of this post. The example PowerShell scri pt below can be used to retrieve all user profile properties for all users within a Site Collection. It doesn't appear to be possible...
on
27 Feb 2014
Blog Post:
Office 365 - PowerShell Script to Create a List, Add Fields and Change the Default View all using CSOM
Brendan Griffin
I'm my continued quest to get to grips with the Client Side Object Model (CSOM) in SharePoint 2013, I have put together a sample script below that connects to a Site Collection within an O365 tenant and does the following: Creates a list using the "Custom" list template Adds two...
on
18 Feb 2014
Blog Post:
Download language packs for SharePoint 2013
Steve Jeffery
Hi all, I've been working with a customer recently to help them deploy a multi-lingual SharePoint 2013 environment. This can be a little time consuming, so I helped automate this process with PowerShell: Here is the script: # Import BITS module Import-Module BITSTransfer # Path to...
on
14 Feb 2014
Blog Post:
List View Lookup Threshold
Brendan Griffin
I was recently delivering a SharePoint Risk Assessment on a customers SharePoint 2010 environment, one of the issues identified by the assessment was that the List View Lookup Threshold for all Web Applications had been increased from its default setting of 8 to a huge 15! This is a really bad idea....
on
13 Aug 2013
Blog Post:
Invalid field name {17ca3a22-fdfe-46eb-99b5-9646baed3f16}
Brendan Griffin
Not the most descriptive title but basically summarises the issue. A customer contacted me as they had issues with an Approval Workflow, basically the Workflow would execute but it would never add anything to the Tasks list. The only information present in the ULS logs was: Invalid field name. {17ca3a22...
on
11 Sep 2013
Blog Post:
Getting Started with Office 365 and the Client Side Object Model - CSOM
Brendan Griffin
SharePoint 2013 included some huge improvements to the Client Side Object Model, as more and more of the customers that I work with are moving to Office 365 I need to start thinking about updating the various scripts that I have to use CSOM. This is critical as my collection of scripts have been exclusively...
on
25 Oct 2013
Blog Post:
Identifying Sites using the Publishing Feature
Brendan Griffin
Below is a simple script that iterates through all Site Collections in all Web Applications within a farm and outputs a list of Site Collections that have the Publishing Feature enabled, I needed this recently during a customer engagement to help them to assess how widespread the Publishing Features...
on
10 Sep 2013
Blog Post:
Determine Site Template
Brendan Griffin
Another day, another PowerShell script! This time a script that will return details about the Site Template that a SharePoint site is using. A customer of mine has a large number of custom site definitions and regularly needs to determine the template that a specific site uses to aid with troubleshooting...
on
20 Aug 2013
Blog Post:
Remove SharePoint 2007 Top Navigation using PowerShell.
Andy Day [MSFT]
Following on from Steve's great post yesterday about creating site Navigation from CSV it got me thinking, what If I want to use this to create the Global Navigation on a farm that already has a hotch-potch TopNav structure? If this is the situation you are in then the following PowerShell is your...
on
13 Aug 2013
Blog Post:
Using PowerShell to Measure Page Download Time
Brendan Griffin
I was recently working with a customer that reported some performance issues in their SharePoint 2013 proof of concept environment, specifically page render time was very poor. I wanted to establish exactly how bad this was and also put in place some basic automated tests to measure response times over...
on
22 Jul 2013
Blog Post:
Windows PowerShell Script to Output Site Collection Information
Brendan Griffin
Windows PowerShell is a fantastic tool; SharePoint 2010 has literally hundreds of different PowerShell Cmdlets that are available out of the box, if you don’t believe me check this out - http://technet.microsoft.com/en-us/library/ff678226.aspx . What about MOSS 2007? Whilst there aren’t any...
on
25 Jul 2013
Blog Post:
Audit settings in Microsoft Office SharePoint Server 2007
Steve Jeffery
As you will have seen in some of our other blog entries here, we often get asked to assist our customers in creating PowerShell scripts. I've recently been working on a script to help ensure that a client is able to set site collection auditing. For compliance reasons they needed to be sure that all...
on
25 Jul 2013
Blog Post:
Build site navigation from CSV file
Steve Jeffery
One of our customers needed some help to build out navigation from a .csv file in their Microsoft Office SharePoint Server 2007 environment. PowerShell seemed to be the most simple option for them; so my colleague Andy and I created the following script: [void][System.Reflection.Assembly]::LoadWithPartialName...
on
12 Aug 2013