Chapter 14

Working from the PowerShell Command Line

In This Chapter

arrow Getting a feel for PowerShell

arrow Learning how PowerShell can be used with SharePoint

arrow Understanding PowerShell cmdlets

arrow Controlling PowerShell with variables, loops, logic, and functions

arrow 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 ...

Get SharePoint® 2010 Development® For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.