Tagged Content List
  • Wiki Page: SharePoint: Find the Masterpage being used on a Site

    The following snippet of PowerShell demonstrates getting the masterpage and custom masterpage (used on application pages) in use for a web. Add-PSSnapin Microsoft.SharePoint.PowerShell $site = Get-SPSite http://contoso.com $web = $site . RootWeb $web . CustomMasterUrl $web . MasterUrl $web ...
  • Wiki Page: PowerShell: Create SharePoint List/Library

    Table of Contents Parameters Code Function Calling Other Languages Use Create-SharePointLibrary function to create a new SharePoint List or Library. Parameters $webUrl - Mandatory - SharePoint Web Url - e.g. http://server:port/ $LibraryName - Mandatory - SharePoint Library Name $Description...
  • Wiki Page: SharePoint 2013: Common PowerShell Snippets

    Table of Contents Introduction General Solution Deployment Branding Document Library Site Management PowerShell SharePoint 2010 Developer Dashboard Other languages Introduction This wiki has been created to consolidate the SharePoint PowerShell snippets we use on our day to day SharePoint activities...
  • Wiki Page: SharePoint 2010: Interacting with Site Columns using PowerShell

    Table of Contents Introduction Checking which Lists or Sites are using a Particular Site Column Targeting Specific Sites for Specific Columns Listing Fields Used in a List See Also Introduction As many of us know, one of the core building blocks for string content together within SharePoint...
  • Wiki Page: SharePoint: PowerShell Runas

    Introduction Have you ever had a SharePoint PowerShell script where you need to run a section of the script with elevated privileges (for example, under the security context of the farm service account), without being prompted to enter credential information? You can achieve this by running...
  • Wiki Page: Removing Old SharePoint Designer Workflow Instances

    Table of Contents Caveats Credits As most of you will know, there are two basic types of workflow in SharePoint. Some workflows are authored in SharePoint Designer whilst others are created within Visual Studio. This article is aimed at those who author workflows in SPD. Each time a new...
  • Wiki Page: Hosting the SharePoint Server 2013 Three-Tier Test Lab with Windows Server 2012 Hyper-V

    The SharePoint Server 2013 three-tier test lab consists of five separate computers on the Corpnet subnet: DC1 : The domain controller, DNS server, certification authority, and DHCP server WFE1 : The front-end web server of the SharePoint Server 2013 three-tier farm APP1 : The application server...
  • Wiki Page: Script a Metadata Service Application using PowerShell

    How To Create Manged Meta Data Service Application Using PowerShell This how-to topic describes the steps required to create a Managed MetaData Service Application in sharepoint 2010 using powershell.One can create the managed metadata service application using the central admin manually. But when...
  • Wiki Page: Removing old workflow instances with PowerShell

    As most of SharePoint professionals will know, there are two basic types of workflow in SharePoint. Some workflows are authored in SharePoint Designer whilst others are created within Visual Studio. This article is aimed at those who author workflows in SPD. Each time a new workflow is published...
  • Wiki Page: SharePoint 2010: Viewing, Sorting, and Filtering SharePoint User Profiles Using PowerShell

    Table of Contents Introduction The Basics: Getting all the User Profiles Example: List all the User Profiles Example: List all the User Profiles, Including the Account Name Example: List all the User Profiles, including the Users Department and Job Title Example: List all User Profiles with a Blank PictureURL...
  • Wiki Page: SharePoint: Using PowerShell to Group Filter and Sort Documents by Metadata

    Table of Contents Introduction Getting Started Examples Example One: Listing Authors who Frequently Create Documents Example Two: Looking for Potential Duplicates by Author Example Three: Looking for Duplicate Submissions Example Four: Looking for Duplicate Documents (Same Document Type, Year and Business...
  • Wiki Page: SharePoint 2010: Performance Differences of Search verse Recursively Looping

    Table of Contents Introduction Creating a Webpart to Test the Performance of Both Methods. WebPart Code for Testing the Performance of Both Methods Using SPMonitoredScope Turning on the Developer Dashboard with PowerShell Testing the Example Webpart Test 1: User A, on a site collection with 9 sites ...
  • Wiki Page: SharePoint: A Complete Guide to Getting and Setting Fields using PowerShell

    Table of Contents Introduction Applies To Displaying all the fields Add an Item Get an Item Set and Get the Title Set and Get a Text Field Set and Get a Note (or RichText) Field Set and Get a Yes/No Field (Boolean) Set and Get a Number Field Set and Get a Currency (Number) Field Set and Get a Percent...
Page 8 of 11 (275 items) «678910»