SharePoint 2010 Products and Technologies Configuration Wizard in PowerShell

I have been living and breathing SharePoint 2010 PowerShell the past two months.
During this time, I have created PowerShell scripts to prepare the farm, install SharePoint 2010, install and provision all service applications with their custom database names solely with PowerShell. This is on a multi-server SharePoint 2010 environment. So my scripts had to be able to create and join servers to the farm, start relevant services on App servers. No more stsadm for me!

The crawl server (index) was the most interesting as my script creates the Search SA and then modifies it with the specific database names that your variables you provide.

There were some (many) lessons learned and I will write more on that later.
I would like to show you how the SharePoint Products and Technologies Wizard works underneath and then marry those steps with equivalent PowerShell commands….

Continue reading

PowerShell Commands for SharePoint 2010

Here are some (over 400) PowerShell™ commands for SharePoint 2010! These can be run remotely (Powershell 2.0).
Stsadm will still be functional in SharePoint 2010. Powershell is not DOS based. Its .NET based. 😉

Windows PowerShell™ is the new command-line interface and scripting language specifically designed for system administrators that will be used for Microsoft® SharePoint® Server 2010 administration. Although both Cmd.exe and Stsadm.exe environments will be maintained for backward compatibility, SharePoint Server 2010 command-line administration will use Windows PowerShell. For practical purposes, you can view Windows PowerShell as complementing Cmd.exe in the Windows administration context and superseding Stsadm.exe for SharePoint administration. You might ask yourself, What’s so unique about Windows PowerShell? Well, unlike most command-line systems that accept and return text, Windows PowerShell supports and uses XML and objects. XML and object support is a pretty major change that brings entirely new tools and methods to greatly improve control, efficiency, and productivity for developers and administrators.

Hope you find these commands useful for the future. Be sure to bookmark this page for future reference.
Continue reading