O'Reilly logo

Windows PowerShell™ Scripting Guide by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required