Chapter 23. Security Settings

This chapter covers the management of access control lists for files, directories, and registry keys. The access control list is a crucial concept of Windows that controls access to resources. Resources such as file system objects and registry entries are protected by access control lists (ACLs). Windows PowerShell (WPS) offers two built-in commandlets for working with ACLs:

  • Get-Acl Read the ACL of a resource

  • Set-Acl Write the ACL of a resource

They include the basic functions of downloading and saving an ACL, depending on the displayed resource path. With WPS 1.0, however, only the file system and the registry are supported.

Note

Besides ...

Get Essential PowerShell 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.