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
Compatability & Converters
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 PFE and CTS engineers from Microsoft UK
SharePoint Server 2013
Browse by Tags
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: The script now supports uploading files larger than 2MB. Another PowerShell sample script for you. This one uploads all files within a specified local directory to a Document Library within a Site in an O365 tenant. All you need to run this script is an O365 tenant, the SharePoint client...
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
© 2014 Microsoft Corporation.
Privacy & Cookies