Sams Windows PowerShell Unleashed ...

Sams Windows PowerShell Unleashed Apr 2007, E-books, Informatyka

[ Pobierz całość w formacie PDF ]
www.sharexxx.net - free books & magazines
Tyson Kopczynski
Windows
®
PowerShell
UNLEASHED
800 East 96th Street, Indianapolis, Indiana 46240 USA
 Windows
®
PowerShell Unleashed
Copyright © 2007 by Sams Publishing
All rights reserved. No part of this book shall be reproduced, stored in a retrieval
system, or transmitted by any means, electronic, mechanical, photocopying, recording,
or otherwise, without written permission from the publisher. No patent liability is
assumed with respect to the use of the information contained herein. Although every
precaution has been taken in the preparation of this book, the publisher and author
assume no responsibility for errors or omissions. Nor is any liability assumed for
damages resulting from the use of the information contained herein.
International Standard Book Number: 0-672-32953-0
Editor-in-Chief
Karen Gettman
Senior Acquisitions
Editor
Neil Rowe
Development Editor
Mark Renfrow
Managing Editor
Gina Kanouse
Library of Congress Cataloging-in-Publication Data
Project Editor
George E. Nedeff
Kopczynski, Tyson.
Microsoft PowerShell unleashed / Tyson Kopczynski.
p. cm.
ISBN 0-672-32953-0
1.
Copy Editor
Lisa M. Lord
Microsoft Windows (Computer file) 2.
Operating systems (Computers)
I. Title.
Senior Indexer
Cheryl Lenser
QA76.76.O63K66 2007
005.4’46—dc22
Proofreader
Water Crest
Publishing
2007008894
Printed in the United States of America
First Printing:
0 9 8 7
4321
Contributing Authors
Pete Handley, Mark
Weinhardt, and
Josh Tolle
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks
have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of
this information. Use of a term in this book should not be regarded as affecting the
validity of any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possi-
ble, but no warranty or fitness is implied. The information provided is on an “as is”
basis. The authors and the publisher shall have neither liability nor responsibility to any
person or entity with respect to any loss or damages arising from the information
contained in this book.
Bulk Sales
Sams Publishing offers excellent discounts on this book when ordered in quantity for
bulk purchases or special sales. For more information, please contact
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact
International Sales
international@pearsoned.com
Technical Editor
Pawam Bhardwaj
Publishing
Coordinator
Cindy Teeters
Book Designer
Gary Adair
Page Layout
Jake McFarland
Nonie Ratcliff
Contents at a Glance
Introduction
..................................................................................
1
Part I
Introduction to PowerShell
1
Introduction to Shells and PowerShell
................................................
7
2
PowerShell Basics
..........................................................................
19
3
PowerShell: A More In-Depth Look
..................................................
57
4
Code Signing
................................................................................
93
5
PowerShell Scripting Best Practices
.................................................
107
Part II
Translating Your Existing Knowledge into PowerShell
6
PowerShell and the File System
.......................................................
125
7
PowerShell and the Registry
...........................................................
157
8
PowerShell and WMI
....................................................................
183
9
PowerShell and Active Directory
....................................................
205
Part III
Using PowerShell to Meet Your Automation Needs
10
Using PowerShell in the Real-World
................................................
235
11
Using PowerShell to Manage Exchange
...........................................
261
Index
........................................................................................
295
Table of Contents
Introduction
1
Part I
Introduction to PowerShell
1
Basic Shell Use
.........................................................................
8
Basic Shell Scripts
...................................................................
10
2
Navigating the CLI
.................................................................
24
PowerShell Command Types
....................................................
26
Calling PowerShell from Other Shells
........................................
30
Common Parameters
..............................................................
34
Get-Help
...............................................................................
35
Get-Command
.......................................................................
38
Built-in Variables
....................................................................
42
Discovering Alias cmdlets
........................................................
47
Creating Persistent Aliases
........................................................
48
Global
..................................................................................
50
Local
....................................................................................
51
Script
...................................................................................
51
  [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • jutuu.keep.pl