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

Get PowerShell: Automating Administrative Tasks 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.