Book description
Learn PowerShell from the inside out, right from basic scripting all the way to becoming a master at automating, managing, and maintaining your Windows environment
About This Book
Use proven best practices to optimize code and automate redundant tasks
Get to grips with PowerShell’s advanced functions and effectively administer your system
Create a variety of PowerShell scripts to automate your environment
Who This Book Is For
If you are a system administrator who wants to become an expert in automating and managing your Windows environment, then this course is for you. Some basic understanding of PowerShell would be helpful.
What You Will Learn
Discover PowerShell commands and cmdlets and understand PowerShell formatting
Solve common problems using basic file input/output functions
Use .NET classes in Windows PowerShell and C# and manage Exchange Online
Use PowerShell in C# to manage Exchange Online and work with .NET classes in PowerShell
Automate LYNC clients, consuming client-side object models to administrate SharePoint Online
Optimize code through the use of functions, switches, and looping structures
Manage files, folders, and registries through the use of PowerShell
Discover best practices to manage Microsoft systems
In Detail
Are you tired of managing Windows administrative tasks manually and are looking to automate the entire process? If yes, then this is the right course for you.
This learning path starts your PowerShell journey and will help you automate the administration of the Windows operating system and applications that run on Windows. It will get you up and running with PowerShell, taking you from the basics of installation to writing scripts and performing web server automation. You will explore the PowerShell environment and discover how to use cmdlets, functions, and scripts to automate Windows systems.
The next installment of the course focuses on gaining concrete knowledge of Windows PowerShell scripting to perform professional-level scripting. The techniques here are packed with PowerShell scripts and sample C# code to automate tasks. You will use .NET classes in PowerShell and C# to manage Exchange Online.
In the final section, you will delve into real-world examples to learn how to simplify the management of your Windows environment. You will get to grips with PowerShell’s advanced functions and how to most effectively administer your system.
This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:
Getting Started with PowerShell by Michael Shepard
Windows PowerShell for .Net Developers Second Edition by Chendrayan Venkatesan and Sherif Talaat
Mastering Windows PowerShell Scripting by Brenton J.W. Blawat
Style and approach
This is a step-by-step course to help you effectively administer and maintain your development environment with PowerShell.
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.
Table of contents
-
PowerShell: Automating Administrative Tasks
- Table of Contents
- PowerShell: Automating Administrative Tasks
- PowerShell: Automating Administrative Tasks
- Credits
- Preface
-
1. Module 1
- 1. First Steps
- 2. Building Blocks
- 3. Objects and PowerShell
- 4. Life on the Assembly Line
- 5. Formatting Output
- 6. Scripts
- 7. Functions
- 8. Modules
- 9. File I/O
- 10. WMI and CIM
- 11. Web Server Administration
- A. Next Steps
-
2. Module 2
-
1. Getting Started with Windows PowerShell
- Scripting the cmdlet style
- Introducing Windows PowerShell
- Using an interactive shell
- Summary
- 2. Unleashing Development Skills Using Windows PowerShell 5.0
- 3. Exploring Desired State Configuration
- 4. PowerShell and Web Technologies
- 5. Exploring Application Programming Interface
-
1. Getting Started with Windows PowerShell
-
3. Module 3
- 1. Variables, Arrays, and Hashes
- 2. Data Parsing and Manipulation
- 3. Comparison Operators
- 4. Functions, Switches, and Loops Structures
- 5. Regular Expressions
- 6. Error and Exception Handling and Testing Code
- 7. Session-based Remote Management
-
8. Managing Files, Folders, and Registry Items
- Registry provider
- Creating files, folders, and registry items with PowerShell
- Adding named values to registry keys
- Verifying files, folders, and registry items
- Copying and moving files and folders
- Renaming files, folders, registry keys, and named values
- Deleting files, folders, registry keys, and named values
- Summary
- 9. File, Folder, and Registry Attributes, ACLs, and Properties
- 10. Windows Management Instrumentation
- 11. XML Manipulation
- 12. Managing Microsoft Systems with PowerShell
- 13. Automation of the Environment
- 14. Script Creation Best Practices and Conclusion
- Bibliography
- Index
Product information
- Title: PowerShell: Automating Administrative Tasks
- Author(s):
- Release date: February 2017
- Publisher(s): Packt Publishing
- ISBN: 9781787123755
You might also like
book
Practical Automation with PowerShell
Take PowerShell beyond simple scripts and build time-saving automations for your team, your users, and the …
book
Mastering Windows PowerShell Scripting
Master the art of automating and managing your Windows environment using PowerShell In Detail PowerShell is …
book
Windows Server 2019 Automation with PowerShell Cookbook - Third Edition
Automate Windows server tasks with the powerful features of the PowerShell Language Key Features Leverage PowerShell …
book
PowerShell Automation and Scripting for Cybersecurity
Explore PowerShell's offensive and defensive capabilities to strengthen your organization's security with this practical guide Purchase …