Chapter 6. PowerShell and the File System

IN THIS CHAPTER

Introduction

This chapter explains how PowerShell can be used to manage the Windows file system. To do this, the chapter explores in-depth examples of managing the file system 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 working file-management script based on a real-world situation. The goal, like the rest of the chapters in this book, is to give ...

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.