Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this book
About the author
About the cover Illustration
1. Tools of the trade
Chapter 1. Solving administrative challenges
1.1. Administrative challenges
1.1.1. Too many machines
1.1.2. Too many changes
1.1.3. Complexity and understanding
1.2. Automation: the way forward
1.3. PowerShell overview
1.3.1. PowerShell scope
1.3.2. PowerShell and .NET
1.3.3. Breaking the curve
1.4. WMI overview
1.4.1. What is WMI?
1.4.2. Is WMI really too hard?
1.5. Automation with WMI and PowerShell
1.6. Putting PowerShell and WMI to work
1.6.1. Example 1: Shutting down a data center
1.6.2. Example 2: Auditing hundreds of machines
1.7. Summary
Chapter 2. Using PowerShell
2.1. PowerShell in a nutshell
2.2. Cmdlets
2.2.1. Utility cmdlets
2.2.2. Where-Object
2.2.3. Foreach-Object
2.2.4. Aliases
2.3. Pipeline
2.4. .NET for administrators
2.4.1. Objects
2.4.2. PowerShell objects
2.4.3. Creating .NET objects
2.4.4. Creating your own objects
2.5. PowerShell scripting language
2.5.1. Loops
2.5.2. Branching
2.5.3. Input and output
2.6. Finding help
2.6.1. Get-Help