C


Cache Results property, 183t

cd command, 1–2

certificate drive

changing, 68

identifying, 67

certificate provider, 48–52, 67–68

certificates, listing of, 48–52, 52

Certificates Microsoft Management Console (MMC), 52, 52

Chase Referrals property, 183t

CMD (command) shell

advantages of PowerShell over, 1–2, 3, 5, 7, 16

environment variables, viewing, 53, 53

cmdlets.

See also specific cmdlets

confirming execution of, 8–9

controlling execution of, 7–11

dotted notation, 29, 31

for Exchange Server, 199–200

exercises, 16–18, 40–41

finding, with Get-Command, 27–31

help on, 13

naming convention, 3

overview, 3

prototyping of, 7–8

return, as object, 21, 31, 38

suspending execution of, 9–11

syntax, 13, 13t

Tab Completion of name, 21

code

adding intelligence to, 92–93

looping through. See looping through code

color coding

color constants, 86t

of processes list, 86–87

of service status, 87–88

image from book ColorCodedServiceStatus.ps1 script, 87–88

image from book ColorCodeProcessOutput.ps1 script, 86–87

Column Names Only property, 183t

command line utilities.

See also cmdlets

exercises, 16–17

overview, 5

running multiple commands, 5–7

running single commands, 5

commandlets. See cmdlets

common WMI classes, 103

comparison operators, 89, 90t

computer accounts

creating, 155–156

user account controls, 156, 157t

-confirm argument, 8–9, 13t

connectServer method, 104–105

Console configuration file, exporting, 12

constants, 84–85, 94–96

consumers, in WMI model, 98

ConvertTo-SecureString cmdlet, 202

copying, by highlighting, 50, 50–51

core WMI classes, 103

image from book CountDownTimer.ps1 script, 89–90

image from book CountInstalledApplicationsTimed.ps1 script, 136–138

country codes, 160, 161t

country fields, updating of, 161

CPU information, retrieving, 92–93

image from book Create2000Users.ps1 script, 197

image from book CreateComputer.ps1 script, 155–156

image from book CreateGroup.ps1 script, 155

image from book CreateMultipleFolders.ps1 script, 94–95

image from book CreateMultipleUsers.ps1 script, 165, 193–195

image from book CreateMultipleUsersandMailboxes.ps1 script, 204

image from book CreateOU.ps1 script, 146, 147

image from book CreateOUwithErrorHandler.ps1 script, 152–153

image from book CreateShortCutToPowerShell.vbs script, 11–12, 79

image from book CreateUser.ps1 script, 154–155

credentials, alternative, for ADO, 180–183, 180t

curly brackets ({}), blocking character, 87

currently running processes, listing, 74




Microsoft Press - Microsoft Windows PowerShell Step by Step
MicrosoftВ® Windows PowerShell(TM) Step By Step (Step By Step (Microsoft))
ISBN: 0735623953
EAN: 2147483647
Year: 2007
Pages: 128
Authors: Ed Wilson

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net