Code Monkey home page Code Monkey logo

powershell-spcmdlets's Introduction

PowerShell-SPCmdlets

SharePoint 2010 and SharePoint 2013 custom PowerShell cmdlets.

Referenced Assemblies

See How to Build Office Developer Tools Projects with TFS Team Build 2012 for information related to using global assembly paths for project builds (Thanks to @softwarecraft for the suggestion and link). If you build from a machine without SharePoint installed then you'll also need to make sure the correct version of the Microsoft.SharePoint.PowerShell assembly and any dependent assemblies are loaded into memory if you want the help files to get generated (I recommend just using a machine with SharePoint installed on it).

SharePoint 2010 Referenced Assemblies

The SharePoint 2010 project requires access to the SharePoint 2010 (14.0.0.0) version of the following assemblies:

  • Microsoft.BusinessData.dll
  • Microsoft.Office.Policy.dll
  • Microsoft.Office.Server.dll
  • Microsoft.Office.Server.Search.Connector.dll
  • Microsoft.Office.Server.Search.dll
  • Microsoft.Office.Server.UserProfiles.dll
  • Microsoft.Office.Word.Server.dll
  • Microsoft.SharePoint.dll
  • microsoft.sharepoint.portal.dll
  • Microsoft.SharePoint.Powershell.dll
  • Microsoft.SharePoint.Publishing.dll
  • Microsoft.SharePoint.Search.dll
  • Microsoft.SharePoint.Security.dll
  • Microsoft.SharePoint.Taxonomy.dll

If building from a SharePoint 2013 machine then you should copy the SharePoint 2010 assemblies to a global assemblies reference folder and add the following registry key to point to the folder:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework\v3.5\AssemblyFoldersEx\SharePoint 2010]@=""

SharePoint 2013 Referenced Assemblies

The SharePoint 2013 project requires access to the SharePoint 2013 (15.0.0.0) version of the following assemblies:

  • Microsoft.BusinessData.dll
  • Microsoft.Office.Policy.dll
  • Microsoft.Office.Server.dll
  • Microsoft.Office.Server.Search.Connector.dll
  • Microsoft.Office.Server.Search.dll
  • Microsoft.Office.Server.UserProfiles.dll
  • Microsoft.Office.Word.Server.dll
  • Microsoft.SharePoint.dll
  • microsoft.sharepoint.portal.dll
  • Microsoft.SharePoint.Powershell.dll
  • Microsoft.SharePoint.Publishing.dll
  • Microsoft.SharePoint.Search.dll
  • Microsoft.SharePoint.Security.dll
  • Microsoft.SharePoint.Taxonomy.dll
  • Microsoft.Sharepoint.WorkflowActions.dll

If building from a SharePoint 2010 machine then you should copy the SharePoint 2013 assemblies to a global assemblies reference folder and add the following registry key to point to the folder:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework\v4.5\AssemblyFoldersEx\SharePoint 2013]@=""

powershell-spcmdlets's People

Contributors

glapointe avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.