FromTheField

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

Browse by Tags

Related Posts
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • 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: 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...
  • 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: 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...
  • 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...