Working with Data
In the previous chapter, we talked about writing modular, reusable code. We saw the benefits of adding your code to a source code versioning solution such as Git. You have seen how to sign your code after applying best practices to it.
Working with data is a necessity to create good scripts and to interact with other services. This chapter will start with the most used types of data—registry and files—and show how to create configurations stored in XML files. These configuration settings can easily be retrieved and set. Furthermore, additional data files such as CSV, but also JSON, are explained. Later, we will also take a dedicated look at PowerShell classes, as they have been added to PowerShell version 5. This chapter ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access