Book description
Your hands-on, step-by-step guide to automating Windows administration with Windows PowerShell 3.0
Teach yourself the fundamentals of Windows PowerShell 3.0 command line interface and scripting language—one step at a time. Written by a leading scripting expert, this practical tutorial delivers learn-by-doing exercises, timesaving tips, and hands-on sample scripts for performing administrative tasks on both local and remote Windows systems.
Discover how to:
Use built-in cmdlets to execute commands
Write scripts to handle recurring tasks
Use providers to access information beyond the shell environment
Configure network components with Windows Management Instrumentation
Manage users, groups, and computers with Active Directory services
Execute scripts to administer and troubleshoot Microsoft Exchange Server 2010
Table of contents
- Windows PowerShell™ 3.0 Step by Step
- Dedication
- Foreword
- Introduction
- 1. Overview of Windows PowerShell 3.0
-
2. Using Windows PowerShell Cmdlets
- Understanding the basics of cmdlets
- Using the Get-ChildItem cmdlet
- Formatting output with Out-GridView
- Leveraging the power of Get-Command
- Using the Get-Member cmdlet
- Using the New-Object cmdlet
- Using the Show-Command cmdlet
- Windows PowerShell cmdlet naming helps you learn
- Creating a Windows PowerShell profile
- Working with cmdlets: step-by-step exercises
- Chapter 2 quick reference
-
3. Understanding and Using PowerShell Providers
- Understanding PowerShell providers
-
Using the registry provider to manage the Windows registry
-
The two registry drives
- Retrieving registry values
- Creating new registry keys
- The short way to create a new registry key
- Setting the default value for the key
- Using New-Item to create and assign a value
- Modifying the value of a registry property value
- The short way to change a registry property value
- Dealing with a missing registry property
-
The two registry drives
- Understanding the variable provider
- Exploring PowerShell providers: step-by-step exercises
- Chapter 3 quick reference
- 4. Using PowerShell Remoting and Jobs
- 5. Using PowerShell Scripts
-
6. Working with Functions
- Understanding functions
- Using functions to provide ease of code reuse
- Including functions in the Windows PowerShell environment
- Adding help for functions
- Using more than two input parameters
- Use of functions to encapsulate business logic
- Use of functions to provide ease of modification
- Understanding filters
- Creating a function: step-by-step exercises
- Chapter 6 quick reference
- 7. Creating Advanced Functions and Modules
- 8. Using the Windows PowerShell ISE
- 9. Working with Windows PowerShell Profiles
- 10. Using WMI
- 11. Querying WMI
- 12. Remoting WMI
- 13. Calling WMI Methods on WMI Classes
- 14. Using the CIM Cmdlets
- 15. Working with Active Directory
- 16. Working with the AD DS Module
- 17. Deploying Active Directory with Windows Server 2012
- 18. Debugging Scripts
- 19. Handling Errors
- 20. Managing Exchange Server
- A. Windows PowerShell Core Cmdlets
- B. Windows PowerShell Module Coverage
- C. Windows PowerShell Cmdlet Naming
- D. Windows PowerShell FAQ
- E. Useful WMI Classes
- F. Basic Troubleshooting Tips
- G. General PowerShell Scripting Guidelines
- H. About the Author
- Index
- About the Author
- Copyright
Product information
- Title: Windows PowerShell™ 3.0 Step by Step
- Author(s):
- Release date: February 2013
- Publisher(s): Microsoft Press
- ISBN: 9780735669970
You might also like
video
Introduction to ChatGPT and OpenAI
OpenAI ChatGPT is a powerful language model that uses advanced ML techniques to generate human-like text …
video
Full Stack Web Development Mastery Course - Novice to Expert
Full stack development refers to the development of both frontend (client-side) and backend (server-side) portions of …
book
Mastering Windows Group Policy
Improve and reimagine your organization's security stance, desktop standards, and server administration with centralized management via …
video
The Complete Python Programming Course: Beginner to Advanced
This is the course for people who want to get started programming with Python, and are …