examples/cNtfsPermissionEntry.json
{ "Modules":[ "cNtfsAccessControl" ], "DSCResourcesToExecute":{ "archtype":{ "dscResourceName":"File", "DestinationPath":"c:\\archtype", "Type":"Directory", "ensure":"Present" }, "LogPermissions":{ "resourceName":"LogPermissions", "dscResourceName":"cNtfsPermissionEntry", "Path":"c:\\archtype", "Principal":"everyone", "AccessControlInformation":[ { "CimType":"cNtfsAccessControlInformation", "Properties":{ "AccessControlType":"Allow", "FileSystemRights":["Modify"], "Inheritance":"ThisFolderSubfoldersAndFiles", "NoPropagateInherit":false } } ], "ensure":"Present" } } } |