Skype for Business
See all products »
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
OneDrive for Business
powershell web access
SharePoint Azure IaaS
SharePoint Server 2013
Browse by Tags
Office 365 - Moving and Merging Managed Metadata Terms using CSOM with PowerShell
I've previously posted about using CSOM to automate the addition and management of Managed Metadata in Office 365: Office 365 - Automating the Creation of Managed Metadata Groups, Term Sets and Terms using CSOM with PowerShell - http://blogs.technet.com/b/fromthefield/archive/2014/03/07/office...
28 Aug 2015
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
UPDATE: It now appears to be possible to use Get-SPOSite to bind to a OneDrive site (I'm sure that this didn't work before!). 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...
17 Feb 2015
SharePoint 2013 and Office 365 Hybrid
I recently presented a session at SharePoint Saturday UK on Configuring SharePoint 2013 and Office 365 Hybrid , as promised to the attendees attached is the presentation (including demo videos). This is an updated version of my previous session at the Yorkshire SharePoint User Group which goes into greater...
29 Nov 2014
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
Office 365 - Exporting Site Collection Search Configuration using CSOM with PowerShell
Chris O'Brien has a fantastic Blog post - Using CSOM in PowerShell Scripts with Office 365: http://www.sharepointnutsandbolts.com/2013/12/Using-CSOM-in-PowerShell-scripts-with-Office365.html. One of the examples that he provides is how to import search configuration from an XML file, this is a new...
21 Mar 2014
Office 365 - Automating the Creation of a Design Manager Package using CSOM with PowerShell
One of the really cool features in SharePoint 2013 is the Design Manager, further information on this feature can be found here: Overview of Design Manager in SharePoint 2013 - http://msdn.microsoft.com/en-us/library/jj822363.aspx. Design Manager provides the ability to export a Design Manager Package...
14 Mar 2014
Office 365 - Automating the Creation of Managed Metadata Groups, Term Sets and Terms using CSOM with PowerShell
I've previously written a Blog post on how to output MMS Term Sets and Terms using CSOM - http://blogs.technet.com/b/fromthefield/archive/2014/03/03/office-365-output-managed-metadata-term-sets-and-terms-using-csom.aspx. This next script example can be used to automate the creation of MMS Groups...
7 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 - 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...
3 Mar 2014
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...
27 Feb 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
© 2015 Microsoft Corporation.
Privacy & Cookies