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 - 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 - 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
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
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...
25 Oct 2013
© 2015 Microsoft Corporation.
Privacy & Cookies