Datasheet

UNDERSTAND THE BASICS OF POWERSHELL 5
Administering
Service Delivery
PART I
return a text string as output. PowerShell is based on the .NET Framework. Rather
than using text, PowerShell takes .NET objects as input and returns .NET objects as
output. So, when the
dir
command is run, PowerShell enumerates the  les and fold-
ers on disk and treats each  le and folder as a separate object. Each object is composed
of a variety of properties that describe it, which are exposed as the headings across the
top of the output.  is object model is unique to PowerShell and is one of the primary
things that elevates it above other commonly used shells.
FIGURE 1.1 PowerShell can do just about anything that the command prompt can do.
Before you begin using PowerShell to automate Active Directory, you must  rst
understand some of the fundamentals.  e essential components are used as build-
ing blocks for creating the commands and scripts that you’ll use in your automation
tasks. Without this base knowledge, your commands and scripts will be limited,
and you wont be able to take advantage of the true power of PowerShell. In this sec-
tion, we’ll take a closer look at these components.
c01.indd 5c01.indd 5 5/12/2011 1:07:38 PM5/12/2011 1:07:38 PM