AD | Application | AWS | Azure | Cloud | Database | Enterprise | Environmental | Event Log | File System | IoT | IT Service | Network/System | NIS2 | Infra | Performance | Protocol | SaaS | Security | Service Level | Storage | Linux | VMware | VoIP | Web | Wireless | SNMP

MonitorTools.com » Administration » Powershell » Powershell 2.0 » Set-Acl

Set-Acl - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Set-Acl

Short description
Changes the security descriptor of a specified resource, such as a file or a registry key.

Syntax


Description
The Set-Acl cmdlet changes the security descriptor of a specified resource, such as a file or a registry key, to ma
tch the values in a security descriptor that you supply.

To use Set-Acl, use the Path parameter to identify the resource whose security descriptor you want to change, and u
se the AclObject parameter to supply a security descriptor that has the values you want to apply. Set-Acl uses the 
value of the AclObject parameter as a model and changes the values in the resource's security descriptor to match t
he values in the AclObject parameter.

M