When you are automating tasks on servers and workstations, you will frequently run into situations where you need to manage files, folders, and registry items. PowerShell provides a wide variety of cmdlets that enable you to create, view, modify, and delete items on a system.
In this chapter, you will learn many techniques to interact with files, folders, and registry items. These techniques and items include:
Registry provider
Creating files, folders, registry keys, and registry named values
Adding named values to registry keys
Verifying the existence of item files, folders, and registry keys
Renaming files, folders, registry keys, and named values
Copying and moving files and folders
Deleting files, folders, registry keys, and named values