See all products »
Curah! curation service
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Server and Tools Blogs
TechNet Flash Newsletter
Cloud and Datacenter
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Microsoft Download Center
TechNet Evaluation Center
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Second shot for certification
Born To Learn blog
Find technical communities in your area
For small and midsize businesses
For IT professionals
For technical support
For home users
Microsoft Premier Online
Microsoft Fix It Center
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Real world experiences of SharePoint CSS engineers from Microsoft UK
Content By Search
powershell web access
SharePoint Server 2013
Browse by Tags
Office 365 - Change the Locale of all OneDrive for Business Sites using PowerShell
The SharePoint Online CSOM package has just been updated to include some additional functionality, which includes the ability to change the regional settings of a Site - further details on the updated release can be found here . One of my customers based in the UK wanted to change the Locale of all...
13 Apr 2015
Office 365 - Create Permissions Level and Groups using CSOM
I was recently helping a customer to deploy the OneNote Class Notebook App (which is really cool) to 200 of their SharePoint Online sites, the deployment part is super-easy however the assignment of permissions to users (teachers) to use the app isn't so straightforward when you have this number...
2 Apr 2015
Office 365 - Identify External Users
Here is a quick script that can be used to identify external users that have access to each Site Collection within an Office 365 tenant (excluding OneDrive for Business Sites). This script requires the SharePoint Online Management Shell which can be downloaded from - http://www.microsoft.com/en-us/download...
13 Mar 2015
Office 365 - Create a List and Add Custom Fields using CSOM
I previously Blogged about creating a List and adding Site Columns using CSOM and PowerShell - http://blogs.technet.com/b/fromthefield/archive/2014/02/18/office365-script-to-create-a-list-add-fields-and-change-the-default-view-using-csom.aspx I was recently asked to create a List and add some Custom...
3 Mar 2015
Office 365 - Upload and Set a Master Page
We all know that Custom Master Pages for SharePoint Online are not recommended, right? I had a customer that decided they needed to use a custom Master Page and asked for my assistance to automate the process of uploading and configuring their custom Master Page, never one to shy away from writing...
3 Mar 2015
Office 365 - Deleting a Web Part using CSOM
I was recently assisting a customer to automate the creation and customization of their SharePoint Online sites using PowerShell, one of their requirements was to remove the "Get started with your site " Web Part from the landing page of each newly created Team Site. The script below...
20 Feb 2015
Office 365 - Identify how much storage a OneDrive site is consuming with PowerShell
I recently helped a colleague to write a script that reports how much storage a OneDrive site is consuming, for standard SharePoint Online sites the Get-SPOSite PowerShell Cmdlet can be used which returns the property StorageUsageCurrent that reports how much storage the Site Collection is consuming...
17 Feb 2015
Office 365 - Creating a Subsite (Web) using CSOM in SharePoint Online
SharePoint Online has a number of PowerShell Cmdlets - https://technet.microsoft.com/en-us/library/fp161374(v=office.15).aspx, these Cmdlets include New-SPOSite which provides the ability to create a Site Collection, unfortunately it's not possible to create a SubSite (web) using these Cmdlets -...
26 Jan 2015
Flush the SharePoint Configuration Cache
From time to time you may need to flush the SharePoint configuration cache on servers within your farm, my colleague Joe Rodgers blogged about this many moons ago - http://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx . If you...
20 Jan 2015
Hybrid Search with SharePoint 2013 and Office 365
I recently presented a session at the Yorkshire (UK) SharePoint User Group on Hybrid Search with SharePoint 2013 and Office 365 , as promised to the attendees attached is the presentation (including demo videos). Brendan Griffin - @brendankarl
4 Nov 2014
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...
4 Jul 2014
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....
4 Jul 2014
SharePoint: Planning for the Future - PowerShell Scripts
I recently presented a session on planning for the future with SharePoint, as promised to the attendees, below are two of the scripts that I used in my demonstrations to audit Content databases and Site Collections. Content Database Inventory This script outputs details of all Content Databases within...
28 Apr 2014
Create a SharePoint Application Pool using PowerShell
As you may know there isn't an out of the box PowerShell cmdlet available in SharePoint 2010 or 2013 that can be used to create an Application Pool for a Web Application, New-SPServiceApplicationPool ( http://technet.microsoft.com/en-us/library/ff607595(v=office.15).aspx ) is available however this...
26 Mar 2014
Office 365 - Create Managed Metadata Terms using CSOM with PowerShell
In a follow up to my previous post - "Office 365 - Output Managed Metadata Term Sets and Terms using CSOM with PowerShell" - http://blogs.technet.com/b/fromthefield/archive/2014/03/03/office-365-output-managed-metadata-term-sets-and-terms-using-csom.aspx , I've written a sample PowerShell...
5 Mar 2014
Office 365 - PowerShell Script to Upload Files to a Document Library using CSOM
UPDATE: My colleague Roger Cormier has created a far superior version of this script that is able to handle sub-folders, please check it out - https://gallery.technet.microsoft.com/PowerShell-Bulk-Upload-b9e9d600 Another PowerShell sample script for you. This one uploads all files within a specified...
19 Feb 2014
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...
18 Feb 2014
Creating a Large Number of Users in AD for testing
I recently had to troubleshoot an issue with the User Profile Service Application and needed to build a repro environment, as part of this I needed to create a large number of users in AD to import into the UPA (too many to do manually using AD Users and Computers!). I thought, there has got to be an...
21 Jan 2014
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...
10 Sep 2013
The Magically Disappearing "Destination Folder" Option
I recently investigated an interesting issue for a customer. As you may know, when uploading a Document to a Document Library you are presented with the option to select which folder within the library to upload the document to, if the document library contains any folders. In the example below, you...
25 Oct 2013
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...
20 Aug 2013
© 2015 Microsoft Corporation.
Privacy & Cookies