Chapter 5. Managing Shares

After completing this chapter, you will be able to:

  • Document existing shares on a system.

  • Document user-defined shares.

  • Verify the existence of administrative shares.

  • Audit shares.

  • Modify shares.

  • Create new shares.

  • Delete existing shares.

Note

On the Companion Disc All the scripts used in this chapter are located on the CD that accompanies this book in the \scripts\chapter05 folder.

Documenting Shares

There are several reasons why a network administrator might want to document existing shares on a server or a workstation. You might want to learn how many shares exist and what drives and folders the shares resolve to on the computer. A second reason might be to examine the shares from a security perspective. Questions such as these ...

Get Windows PowerShell™ Scripting Guide 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.