O'Reilly logo

Mastering Windows PowerShell Scripting by Brenton J.W. Blawat

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

Managing file, folder, and registry permissions

PowerShell provides the ability to manage file, folder, and registry permissions. To update security permissions, you have to interact with the access control list. The ACL contains access rules that permit or deny specific actions on a file, folder, or registry item. The most common security permissions that can be set on files and folders are shown here:

  • Full control: This allows writing, reading, changing, and deleting objects.
  • Modify: This allows writing, reading, and deleting objects. It does not permit taking ownership of objects.
  • Read and execute: This allows reading, listing objects in a directory, and executing objects.
  • List folder contents: This allows listing of objects in a directory and ...

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