Enumerations/SERVICE_ACCESS.ps1

$SERVICE_ACCESS = psenum $Module SERVICE_ACCESS UInt32 @{
    SERVICE_QUERY_CONFIG         = 0x00000001
    SERVICE_CHANGE_CONFIG        = 0x00000002
    SERVICE_QUERY_STATUS         = 0x00000004
    SERVICE_ENUMERATE_DEPENDENTS = 0x00000008
    SERVICE_START                = 0x00000010
    SERVICE_STOP                 = 0x00000020
    SERVICE_PAUSE_CONTINUE       = 0x00000040
    SERVICE_INTERROGATE          = 0x00000080
    SERVICE_USER_DEFINED_CONTROL = 0x00000100
    DELETE                       = 0x00010000
    READ_CONTROL                 = 0x00020000
    WRITE_DAC                    = 0x00040000
    WRITE_OWNER                  = 0x00080000
    SERVICE_ALL_ACCESS           = 0x000F01FF
    ACCESS_SYSTEM_SECURITY       = 0x01000000
} -Bitfield