Mastering Windows PowerShell Scripting Second Edition 版次: One-stop guide to automating administrative tasks
Authors: Chris Dent – Brenton J.W. Blawat
ISBN-10: 1787126307
ISBN-13: 9781787126305
Edition 版次: 2nd Revised edition
Publication Date 出版日期: 2017-10-27
Print Length 页数: 440 pages
Book Description
By finelybook
PowerShell scripts offer a handy way to automate various chores. Working with these scripts effectively can be a difficult task.
This comprehensive guide starts from scratch and covers advanced-level topics to make you a PowerShell expert. The first module,PowerShell Fundamentals,begins with new features,installing PowerShell on Linux,working with parameters and objects,and also how you can work with .NET classes from within PowerShell.
In the next module,you’ll see how to efficiently manage large amounts of data and interact with other services using PowerShell. You’ll be able to make the most of PowerShell’s powerful automation feature,where you will have different methods to parse and manipulate data,regular expressions,and WMI.
After automation,you will enter the Extending PowerShell module,which covers topics such as asynchronous processing and,creating modules. The final step is to secure your PowerShell,so you will land in the last module,Securing and Debugging PowerShell,which covers PowerShell execution policies,error handling techniques,and testing.
By the end of the book,you will be an expert in using the PowerShell language.
Contents
1: INTRODUCTION TO POWERSHELL
2: WORKING WITH POWERSHELL
3: MODULES AND SNAP-INS
4: WORKING WITH OBJECTS IN POWERSHELL
5: OPERATORS
6: VARIABLES,ARRAYS,AND HASHTABLES
7: BRANCHING AND LOOPING
8: WORKING WITH .NET
9: DATA PARSING AND MANIPULATION
10: REGULAR EXPRESSIONS
11: FILES,FOLDERS,AND THE REGISTRY
12: WINDOWS MANAGEMENT INSTRUMENTATION
13: HTML,XML,AND JSON
14: WORKING WITH REST AND SOAP
15: REMOTING AND REMOTE MANAGEMENT
16: TESTING
17: ERROR HANDLING
What You Will Learn
Optimize code through the use of functions,switches,and looping structures
Install PowerShell on your Linux system
Utilize variables,hashes,and arrays to store data
Work with Objects and Operators to test and manipulate data
Parse and manipulate different data types
Write .NET classes with ease within the PowerShell
Create and implement regular expressions in PowerShell scripts
Deploy applications and code with PowerShell’s Package management modules
Leverage session-based remote management
Manage files,folders,and registries through the use of PowerShell
Authors
Chris Dent
Chris Dent is a professional PowerShell developer based in and around London with over 8 years experience in that language alone. He is also proficient in C#,VBScript,Perl,and Python,but PowerShell is his favourite by a wide margin. He is also the author of dnshell.
He describes himself as being a tool set / module developer (he rarely writes scripts in the one-off sense);he has a deep interested in formalised development approaches,continuous integration,secure coding practices,and creating supportable automation frameworks within organisations.
Brenton J.W. Blawat
Brenton J.W. Blawat is an entrepreneur,strategic technical advisor,author,and enterprise architect,who has a passion for the procurement of technology in profit-based organizations. He is business-centric and technology-minded. Brenton has many years of experience in bridging the gap between technical staff and decision-makers in several organizations. He takes pride in his ability to effectively communicate with a diverse audience and provide strategic direction for large and small organizations alike.
In 2013,Brenton authored his first book,PowerShell 3.0 WMI Starter,Packt Publishing. In March 2015,he authored his second book Mastering Windows PowerShell Scripting,Packt Publishing.
Brenton currently works at CDW as an Enterprise Architect in strategic solutions and services. CDW is a leading multibrand technology solutions provider in the fields of business,government,education,and healthcare. A Fortune 500 company,it was founded in 1984 and employs approximately 7,200 coworkers. In 2016,the company generated net sales of more than $13.0 billion.
His current specialisation sits on top of 15 years experience spread across (predominantly Microsoft) systems,(Juniper and Cisco) networking,and security.