< Back

Repair-AclCorruption

Fri Jan 10, 2020 6:34 pm

NAME Repair-AclCorruption



SYNOPSIS

Fixes ACLs on the directory (and its ancestors) that have become corrupted (resulting in "





SYNTAX

Repair-AclCorruption [-directory] <Object> [<CommonParameters>]





DESCRIPTION

When the error message "This access control list is not in canonical form and therefore cannot be modified." comes

up, you can use this to fix the ACLs

Based on found from http://serverfault.com/a/287702/4110





PARAMETERS

-directory <Object>

The path to the directory to which to apply permissions



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS