Skip to content

Instantly share code, notes, and snippets.

@Nora-Ballard
Created February 15, 2014 13:37
Show Gist options
  • Save Nora-Ballard/9019431 to your computer and use it in GitHub Desktop.
Save Nora-Ballard/9019431 to your computer and use it in GitHub Desktop.
$LOCAL_ADMINISTRATORS = [System.Security.Principal.NTAccount] "Administrators"
$FS_RIGHT_LIST = 'ListDirectory, Traverse'
$FS_RIGHT_READ = 'Read'
$FS_RIGHT_MODIFY = 'Modify'
$FS_RIGHT_CREATE = 'CreateFiles, CreateDirectories'
$This_Folder_Subfolders_Files = @('ContainerInherit, ObjectInherit', 'none')
$Subfolders_Files_Only = @('ContainerInherit, ObjectInherit', 'InheritOnly')
$Subfolders_Only = @('ContainerInherit', 'InheritOnly')
$This_Folder_Subfolders = @('ContainerInherit', 'none')
$Files_Only = @('ObjectInherit', 'InheritOnly')
$This_Folder_Files = @('ObjectInherit', 'none')
$This_Folder_Only = @('none', 'none')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment