Stsadm was one of the primary tools available for deployment operations in MOSS 2007. However, We all have been through a lot of scenarios that stsadm simply did not cover.
The resolution to this was to write a piece of code or develop a custom stsadm extension and deploy it to accomplishing a simple task
SharePoint 2010 has moved to PowerShell which means that you know have full access to the SharePoint API from the command line.
For example : Suppose I want to get a list of features for a specific site collection, we can simply type the following from the PowerShell prompt
$s = Get-SPSite http://siteurl
S$.Features | out-gridview
We would get the list of features in a grid view with filtering & sorting options.
Find a list of all the SharePoint 2010 PowerShell cmdlets reference here
and the Help file for PowerShell here
Microsoft claim to introduce around 1000 build in cmdlets :)
You can use PowerShell with the MOSS 2007 object model and its web services. More on that here
No comments:
Post a Comment