Enumerations/FILE_ACCESS_MASK.ps1
$FILE_ACCESS_MASK = psenum $Module FILE_ACCESS_MASK UInt32 @{ FILE_READ_DATA = 0x1 FILE_WRITE_DATA = 0x2 FILE_APPEND_DATA = 0x4 FILE_READ_EA = 0x8 FILE_WRITE_EA = 0x10 FILE_EXECUTE = 0x20 FILE_DELETE_CHILD = 0x40 FILE_READ_ATTRIBUTES = 0x80 FILE_WRITE_ATTRIBUTES = 0x100 DELETE = 0x10000 READ_CONTROL = 0x20000 WRITE_DAC = 0x40000 WRITE_OWNER = 0x80000 SYNCHRONIZE = 0x100000 GENERIC_WRITE = 0x40000000 } |