Working from the PowerShell Command Line
In This Chapter
Getting a feel for PowerShell
Learning how PowerShell can be used with SharePoint
Understanding PowerShell cmdlets
Controlling PowerShell with variables, loops, logic, and functions
Creating your own PowerShell scripts
The first rule of any technology used in a business is that automation applied to an efficient operation will magnify the efficiency. The second is that automation applied to an inefficient operation will magnify the inefficiency.
— Bill Gates
This chapter covers the powerful, new command-line interface for Microsoft products known as PowerShell. PowerShell is, in effect, DOS-on-steroids — for interacting with Microsoft applications such as SharePoint at the no-nonsense level of the command line. The power of a command-line interface is that you can save a series of commands in a text file (known as a script), run them all in a single batch triggered by a single command, and schedule your scripts to ...