My Account Log in

1 option

Windows PowerShellTM Scripting Guide.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Wilson, Ed.
Language:
English
Subjects (All):
Microsoft Windows (Computer file).
Microsoft Windows server.
Operating systems (Computers).
Scripting languages (Computer science).
Windows PowerShell (Computer program language).
Local Subjects:
Microsoft Windows (Computer file).
Operating systems (Computers).
Scripting languages (Computer science).
Windows PowerShell (Computer program language).
Physical Description:
1 online resource (687 p.)
Edition:
1st edition
Place of Publication:
Sebastopol : Microsoft Press, 2009.
Language Note:
English
System Details:
text file
Summary:
Get practical guidance for using Windows PowerShell to manage Windows Vista and Windows Server 2008. Written by Ed Wilson, a leading scripting expert and trainer at Microsoft, this reference offers a task-based approach to help you find the information you need for day-to-day tasks. With more than 200 scripts, it offers rich examples that administrators can customize for their own environment and needs. The scripts range in complexity from one-line commands, to full-blown scripts with managed output and command-line arguments-examples that are applicable to all skill levels. Includes a
Contents:
Cover; Copyright Page; Dedication; Contents at a Glance; Table of Contents; Acknowledgments; Introduction; Is This Book for Me?; About the Companion CD; System Requirements; Technical Support; Chapter 1: The Shell in Windows PowerShell; Installing Windows PowerShell; Verifying Installation with VBScript; Deploying Windows PowerShell; Interacting with the Shell; Introducing Cmdlets; Configuring Windows PowerShell; Creating a Windows PowerShell Profile; Configuring Windows PowerShell Startup Options; Security Issues with Windows PowerShell; Controlling the Execution of Cmdlets
Confirming CommandsSuspending Confirmation of Cmdlets; Supplying Options for Cmdlets; Working with Get-Help; Working with Aliases to Assign Shortcut Names to Cmdlets; Additional Uses of Cmdlets; Using the Get-ChildItem Cmdlet; Formatting Output; Using the Get-Command Cmdlet; Exploring with the Get-Member Cmdlet; Summary; Chapter 2: Scripting Windows PowerShell; Why Use Scripting?; Configuring the Scripting Policy; Running Windows PowerShell Scripts; Use of Variables; Use of Constants; Using Flow Control Statements; Adding Parameters to ForEach-Object; Using the Begin Parameter
Using the Process ParameterUsing the End Parameter; Using the For Statement; Using Decision-Making Statements; Using If ... Elseif ... Else; Using Switch; Working with Data Types; Unleashing the Power of Regular Expressions; Using Command-Line Arguments; Summary; Chapter 3: Managing Logs; Identifying the Event Logs; Reading the Event Logs; Exporting to Text; Export to XML; Perusing General Log Files; Examining Multiple Logs; Retrieving a Single Event Log Entry; Searching the Event Log; Filtering on Properties; Selecting the Source; Selecting the Severity; Selecting the Message
Managing the Event LogIdentifying the Sources; Modifying the Event Log Settings; Examining WMI Event Logs; Making Changes to the WMI Logging Level; Using the Windows Event Command-Line Utility; Writing to Event Logs; Creating a Source; Putting Cmdlet Output into the Log; Creating Your Own Event Logs; Summary; Chapter 4: Managing Services; Documenting the Existing Services; Working with Running Services; Writing to a Text File; Writing to a Database; Setting the Service Configuration; Accepting Command-Line Arguments; Stopping Services; Performing a Graceful Stop; Starting Services
Performing a Graceful StartDesired Configuration Maintenance; Verifying Desired Services Are Stopped; Reading a File to Check Service Status; Verifying Desired Services Are Running; Confirming the Configuration; Producing an Exception Report; Summary; Chapter 5: Managing Shares; Documenting Shares; Documenting User Shares; Writing Shares to Text; Documenting Administrative Shares; Writing Share Information to a Microsoft Access Database; Auditing Shares; Modifying Shares; Using Parameters with the Script; Translating the Return Code; Creating New Shares; Creating Multiple Shares
Deleting Shares
Notes:
Description based upon print version of record.
ISBN:
9780735642560
0735642567
9780735643086
0735643083
OCLC:
775300391

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account