Datasheet
UNDERSTAND THE BASICS OF POWERSHELL 11
Administering
Service Delivery
PART I
by PowerShell to ensure that only trusted scripts are run. You’ll learn how to create
a trusted script later in this chapter in the “Create PowerShell Scripts” section:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
File C:\Users\Administrator\Documents\WindowsPowerShell\Microso
ft.PowerShell_profile.ps1 cannot be loaded because the executio
n of scripts is disabled on this system. Please see “get-help a
bout_signing” for more details.
At line:1 char:2
+ . <<<< ‘C:\Users\Administrator\Documents\WindowsPowerShell\M
icrosoft.PowerShell_profile.ps1’
+ CategoryInfo : NotSpecified: (:) [], PSSecurity
Exception
+ FullyQualifiedErrorId : RuntimeException
Work with Cmdlets
In PowerShell, a cmdlet (pronounced command-let) is a small, lightweight command.
Each cmdlet is self-contained, meaning that you can run it by itself as its own com-
mand. For example, you can execute the
get-process
cmdlet, and it will return the
list of processes currently running on the computer, as shown in Figure 1.5.
FIGURE 1.5 Running the
Get-Process
cmdlet returns the list of processes currently running on the computer.
c01.indd 11c01.indd 11 5/12/2011 1:07:44 PM5/12/2011 1:07:44 PM










