glapointe/PowerShell-SPCmdlets


SharePoint 2010 and SharePoint 2013 custom PowerShell cmdlets.

License: MS-RL

Language: C#


PowerShell-SPCmdlets

SharePoint 2010, SharePoint 2013, and SharePoint 2016 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

SharePoint 2013 and 2016 Referenced Assemblies

The SharePoint 2013 (15.0.0.0) and SharePoint 2016 (16.0.0.0) project requires access to the respective versions 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

Assembly References

If building from a SharePoint 2010 machine then you should copy the SharePoint 2016 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 2016]@="<AssemblyFolderLocation>"

Do the same with the SharePoint 2013 assemblies:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v3.5\AssemblyFoldersEx\SharePoint 2013]@="<AssemblyFolderLocation>"

If building from a SharePoint 2013 machine then you should copy the SharePoint 2016 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 2016]@="<AssemblyFolderLocation>"

Do the same with the SharePoint 2010 assemblies:

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

If building from a SharePoint 2016 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]@="<AssemblyFolderLocation>"

Do the same with the SharePoint 2010 assemblies:

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

Project Statistics

Sourcerank 4
Repository Size 31.4 MB
Stars 12
Forks 4
Watchers 6
Open issues 2
Dependencies 0
Contributors 1
Tags 9
Created
Last updated
Last pushed

Top Contributors See all

Gary Lapointe

Recent Tags See all

v1.1.0.0-sp2016 June 17, 2016
v1.1.0.0-sp2013-server April 22, 2016
v1.1.0.0-sp2013-foundation April 22, 2016
v1.1.0.0-sp2010-server April 22, 2016
v1.1.0.0-sp2010-foundation April 22, 2016
v1.0.1.0-sp2013-server May 10, 2015
v1.0.1.0-sp2013-foundation May 10, 2015
v1.0.1.0-sp2010-server May 10, 2015
v1.0.1.0-sp2010-foundation May 10, 2015

Interesting Forks See all

GSoft-SharePoint/PowerShell-SPCmdlets
SharePoint 2010 and SharePoint 2013 custom PowerShell cmdlets.
C# - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2017-07-24 11:38:26 UTC

Login to resync this repository