21 Jan, 2010
SharePoint 2010 Management Shell makes it easier to get a list of Site Templates installed in the farm and also creating sites using the names is straight forward.
To get a list of all globally installed site templates use the following PowerShell cmdlet
get-spwebtemplate

To get the basic information about all the STS template, use the following PowerShell cmdlet
get-spwebtemplate “STS*”

To get the basic information about all the SPS template, use the following PowerShell cmdlet
get-spwebtemplate “SPS*”

19 Jan, 2010
Service Applications is one of the newest additions in SharePoint 2010 arsenal of features. As again you can manage Service Applications via the SharePoint 2010 Management Shell. In the illustration under, you will see how we can get a list of Service Applications deployed.
Get-SPServiceApplication cmdlet lists all service applications in a farm with their Display Name, TypeName and ID

Now type the same command piped with Select Id, Name to get these results

14 Jan, 2010
Get-spfeature gets the SharePoint features based on a given scope.
This cmdlet behaves differently at each scope, getting the enabled Features at each level. There are 4 levels of scope
· Farm
· WebApplication
· Site (Site Collection)
· Web (Site)
get-spfeature -farm (gets all the enabled Feature in the farm)
get-spfeature -webapplication http://server (gets all enabled the Features in the Web application)
get-spfeature -site http://server/sites/IT (gets all the enabled Features on the site collection)
get-spfeature -site -sandboxed (gets all installed the Feature definitions on the site) Read more... (206 words, 3 images, estimated 49 secs reading time)
12 Jan, 2010
It’s easy to create a site collection using PowerShell as seen in an earlier post. Now let’s see how easy it is to delete a site collection using PowerShell cmdlet. It’s any day efficient way to create and delete site collections using PowerShell then use Central Administration GUI.
For the purpose of testing we will
· Create a site collection named 2Delete using a site template STS#0
· Delete a site collection named 2Delete Read more... (103 words, 4 images, estimated 25 secs reading time)
- New site collection created using SharePoint 2010 Management Shell.
- Site collection created. as per confirmation. Delete site collection using SharePoint 2010 Management Shell.
22 Dec, 2009
Situation: You want to add secondary site collection administrator
Old Method: Go to Central Admin… or use stsadm
Smart Method: Use PowerShell
How?
Launch your Administrator: SharePoint 2010 Management Shell
Type
Set-SPSite –Identity http://server –SecondaryOwnerAlias justsharepoint\alpesh
This will add secondary site collection administrator. Soon will show you how you can add secondary site collection administrator for all site collections in a managed path!