Chapter 7. PowerShell and the Registry

IN THIS CHAPTER

Introduction

This chapter explains how PowerShell can be used to manage the Windows Registry. To do this, the chapter explores in-depth examples of managing the Registry using both Windows Script Host (WSH) and PowerShell. These examples are presented from both perspectives in an effort to give the reader a path to learn PowerShell based on existing Windows scripting knowledge. In addition to the example-based comparisons, this chapter also presents a series of working Registry management functions that are based on a real-world situation. The goal is to give the reader a chance to learn how PowerShell scripting ...

Get Windows PowerShell Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.