Use PowerShell to Apply Central Access Policy

Use PowerShell to apply Dynamic Access Control policies.

John Savill

June 24, 2014

1 Min Read
PowerShell command prompt

Q: How can I use PowerShell to set the Dynamic Access Control Central Access Policy that's applied to a folder?

A: Dynamic Access Control allows Central Access Policies to be created that contain Central Access Rules that define the attributes required for a user and device to access the various classifications of data. Once the Central Access Policies are available to file servers, you can use Group Policy to apply the policy to files and folders. You can also use PowerShell to accomplish this. In the following PowerShell code, the File Server Policy is being applied:

$acl = get-acl "C:SharesDataSharedContent" –auditset-acl "C:SharesDataSharedContent" $acl "File Server Policy"

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like