Fix smart quotes
Smart quotes in the previous patch caused issue importing the script.
This commit is contained in:
parent
38af96a7ba
commit
5ca7ba08fe
|
|
@ -3634,7 +3634,7 @@ function Add-ObjectAcl {
|
|||
|
||||
# restrict object changes to ACL only
|
||||
[System.DirectoryServices.DirectoryEntryConfiguration]$SecOptions = $Object.get_Options()
|
||||
$SecOptions.SecurityMasks = [System.DirectoryServices.SecurityMasks]’Dacl’
|
||||
$SecOptions.SecurityMasks = [System.DirectoryServices.SecurityMasks]'Dacl'
|
||||
|
||||
# add ACE
|
||||
$Object.PsBase.ObjectSecurity.AddAccessRule($ACE)
|
||||
|
|
|
|||
Loading…
Reference in New Issue