Adding SharePoint 2007 cmdlets to PowerShell 2.0
Never used PowerShell with MOSS 2007. How do I add the standard SharePoint cmdlets (e.g. Get-SPWeb) for MOSS 2007?
August 30th, 2011 12:12pm
Hi Josh JB,
some cmdlet code are deploy in sharepoint 2007 (named stsadm command). see this article about sharepoint 2007 command:
http://blog.falchionconsulting.com/index.php/2008/11/my-new-powershell-cmdlets-for-sharepoint-2007-feedback-requested/
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2011 1:39pm
Just to let you know, there weren't any PowerShell CMDLETs shipped by Microsoft for SharePoint 2007.. You're either going to have to create your own using STSADM or the SharePoint Object Model, or look for community-provided CMDLETs (luckily there's quite
a few out there).
If you want to go the community route, Alireza has provided you with a link to the gold standard source for community-provided CMDLETs, MVP Gary Lapointe. The other places I'd recommend looking would be searching on Codeplex.com, the TechNet Scripting Center
(http://technet.microsoft.com/en-us/scriptcenter/bb410849), and PoshCode.org.
John
MCITP and MCTS: SharePoint, Virtualization, Project Server 2007
My books on Amazon: The SharePoint 2010 Disaster Recovery Guide and
The SharePoint 2007 Disaster Recovery Guide.
My blog: My Central Admin.
August 30th, 2011 2:19pm