FromTheField

Real world experiences of SharePoint PFE and CTS engineers from Microsoft UK

Browse by Tags

Related Posts
  • Blog Post: Export Members of a SharePoint Audience

    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...
  • Blog Post: SharePoint Maintenance

    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...
  • Blog Post: SharePoint 2010 Organization Browser - Expose more than just User, Title and About Me (Sort Of).

    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....
  • Blog Post: Sizing SharePoint - The 2nd stage Site collection recycle bin

    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...
  • Blog Post: SharePoint 2013 - December CU - Exception: No mapping between account names and security IDs was done

    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...
  • Blog Post: Office 365 - Output Managed Metadata Term Sets and Terms using CSOM with PowerShell

    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...
  • Blog Post: PowerShell Snippets

    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;...
  • Blog Post: Office 365 - Retrieve User Profile Properties using CSOM with PowerShell

    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...
  • Blog Post: Office 365 - PowerShell Script to Create a List, Add Fields and Change the Default View all using CSOM

    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...
  • Blog Post: Download language packs for SharePoint 2013

    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...
  • Blog Post: List View Lookup Threshold

    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....
  • Blog Post: Invalid field name {17ca3a22-fdfe-46eb-99b5-9646baed3f16}

    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...
  • Blog Post: Getting Started with Office 365 and the Client Side Object Model - CSOM

    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...
  • Blog Post: Identifying Sites using the Publishing Feature

    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...
  • Blog Post: Determine Site Template

    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...
  • Blog Post: Remove SharePoint 2007 Top Navigation using PowerShell.

    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...
  • Blog Post: Using PowerShell to Measure Page Download Time

    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...
  • Blog Post: Windows PowerShell Script to Output Site Collection Information

    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...
  • Blog Post: Audit settings in Microsoft Office SharePoint Server 2007

    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...
  • Blog Post: Build site navigation from CSV file

    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...