This chapter explained how you can leverage PowerShell to manipulate XML files. To start, you learned the core make up of an XML structure. You continued to learn about the DOM tree structure and how parents, children, and siblings relate to each other in an XML file. You also to learned how to read XML files and navigate their structure. You learned that you can also use dot notation to navigate an XML structure in PowerShell. Finally, you saw the steps to add, modify, and remove content from an XML file. In the next chapter, you will learn different methods to manage Microsoft systems using PowerShell. You will learn items such as local user and group management, interacting with Window services, and working with Windows processes.
Mastering Windows PowerShell Scripting
By :
Mastering Windows PowerShell Scripting
By:
Overview of this book
Table of Contents (22 chapters)
Mastering Windows PowerShell Scripting
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Variables, Arrays, and Hashes
Data Parsing and Manipulation
Comparison Operators
Functions, Switches, and Loops Structures
Regular Expressions
Error and Exception Handling and Testing Code
Session-based Remote Management
Managing Files, Folders, and Registry Items
File, Folder, and Registry Attributes, ACLs, and Properties
Windows Management Instrumentation
XML Manipulation
Managing Microsoft Systems with PowerShell
Automation of the Environment
Script Creation Best Practices and Conclusion
Index
Customer Reviews