certutil.crescendo.config.json

{
    "$schema": "https://aka.ms/PowerShell/Crescendo/Schemas/2022-06",
    "commands": [
        {
            "Verb": "Get",
            "Noun": "PCDump",
            "OriginalName": "C:\\Windows\\system32\\certutil.exe",
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [],
            "Examples": []
        },
        {
            "Verb": "Get",
            "Noun": "PCCAAdministrator",
            "OriginalName": "C:\\Windows\\system32\\certutil.exe",
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-getreg",
                    "Name": "GetReg",
                    "DefaultValue": "CA\\Security",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify Security",
                    "OriginalPosition": 1
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseCAAdministrator"
                }
            ]
        },
        {
            "Verb": "Get",
            "Noun": "PCCertificateManager",
            "OriginalName": "C:\\Windows\\system32\\certutil.exe",
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-getreg",
                    "Name": "GetReg",
                    "DefaultValue": "CA\\Security",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify Security",
                    "OriginalPosition": 1
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseCertificateManager"
                }
            ]
        },
        {
            "Verb": "Get",
            "Noun": "PCEnrollmentAgent",
            "OriginalName": "C:\\Windows\\system32\\certutil.exe",
            "OriginalCommandElements": ["-v"],
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-getreg",
                    "Name": "GetReg",
                    "DefaultValue": "CA\\EnrollmentAgentRights",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify EnrollmentAgentRights",
                    "OriginalPosition": 1
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseEnrollmentAgent"
                }
            ]
        },
        {
            "Verb": "Get",
            "Noun": "PCOfficerRight",
            "OriginalName": "C:\\Windows\\system32\\certutil.exe",
            "OriginalCommandElements": ["-v"],
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-getreg",
                    "Name": "GetReg",
                    "DefaultValue": "CA\\OfficerRights",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify OfficerRights",
                    "OriginalPosition": 1
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseOfficerRight"
                }
            ]
        },
        {
            "Verb": "Get",
            "Noun": "PCEditFlag",
            "OriginalName": "C:/Windows/system32/certutil.exe",
            "OriginalCommandElements": ["-v"],
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-getreg",
                    "Name": "GetReg",
                    "DefaultValue": "policy\\EditFlags",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify EditFlags",
                    "OriginalPosition": 1
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseEditFlag"
                }
            ]
        },
        {
            "Verb": "Enable",
            "Noun": "PCEditFlag",
            "OriginalName": "C:/Windows/system32/certutil.exe",
            "OriginalCommandElements": ["-v"],
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-setreg",
                    "Name": "SetReg",
                    "DefaultValue": "policy\\EditFlags",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify EditFlags",
                    "OriginalPosition": 1
                },
                {
                    "OriginalName": "+",
                    "Name": "Flag",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "NoGap": true,
                    "AdditionalParameterAttributes": [
                        "[ValidateSet('EDITF_REQUESTEXTENSIONLIST','EDITF_ENABLEREQUESTEXTENSIONS','EDITF_DISABLEEXTENSIONLIST','EDITF_ADDOLDKEYUSAGE','EDITF_ADDOLDCERTTYPE','EDITF_ATTRIBUTEENDDATE','EDITF_BASICCONSTRAINTSCRITICAL','EDITF_BASICCONSTRAINTSCA','EDITF_ENABLEAKIKEYID','EDITF_ATTRIBUTECA','EDITF_IGNOREREQUESTERGROUP','EDITF_ENABLEAKIISSUERNAME','EDITF_ENABLEAKIISSUERSERIAL','EDITF_ENABLEAKICRITICAL','EDITF_SERVERUPGRADED','EDITF_ATTRIBUTEEKU','EDITF_ENABLEDEFAULTSMIME','EDITF_EMAILOPTIONAL','EDITF_ATTRIBUTESUBJECTALTNAME2','EDITF_ENABLELDAPREFERRALS','EDITF_ENABLECHASECLIENTDC','EDITF_AUDITCERTTEMPLATELOAD','EDITF_DISABLEOLDOSCNUPN','EDITF_DISABLELDAPPACKAGELIST','EDITF_ENABLEUPNMAP','EDITF_ENABLEOCSPREVNOCHECK','EDITF_ENABLERENEWONBEHALFOF')]"
                    ],
                    "Description": "Specify Flag to Enable",
                    "OriginalPosition": 2
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseModifyFlag"
                }
            ]
        },
        {
            "Verb": "Disable",
            "Noun": "PCEditFlag",
            "OriginalName": "C:/Windows/system32/certutil.exe",
            "OriginalCommandElements": ["-v"],
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-setreg",
                    "Name": "SetReg",
                    "DefaultValue": "policy\\EditFlags",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify EditFlags",
                    "OriginalPosition": 1
                },
                {
                    "OriginalName": "-",
                    "Name": "Flag",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "NoGap": true,
                    "AdditionalParameterAttributes": [
                        "[ValidateSet('EDITF_REQUESTEXTENSIONLIST','EDITF_ENABLEREQUESTEXTENSIONS','EDITF_DISABLEEXTENSIONLIST','EDITF_ADDOLDKEYUSAGE','EDITF_ADDOLDCERTTYPE','EDITF_ATTRIBUTEENDDATE','EDITF_BASICCONSTRAINTSCRITICAL','EDITF_BASICCONSTRAINTSCA','EDITF_ENABLEAKIKEYID','EDITF_ATTRIBUTECA','EDITF_IGNOREREQUESTERGROUP','EDITF_ENABLEAKIISSUERNAME','EDITF_ENABLEAKIISSUERSERIAL','EDITF_ENABLEAKICRITICAL','EDITF_SERVERUPGRADED','EDITF_ATTRIBUTEEKU','EDITF_ENABLEDEFAULTSMIME','EDITF_EMAILOPTIONAL','EDITF_ATTRIBUTESUBJECTALTNAME2','EDITF_ENABLELDAPREFERRALS','EDITF_ENABLECHASECLIENTDC','EDITF_AUDITCERTTEMPLATELOAD','EDITF_DISABLEOLDOSCNUPN','EDITF_DISABLELDAPPACKAGELIST','EDITF_ENABLEUPNMAP','EDITF_ENABLEOCSPREVNOCHECK','EDITF_ENABLERENEWONBEHALFOF')]"
                    ],
                    "Description": "Specify Flag to Enable",
                    "OriginalPosition": 2
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseModifyFlag"
                }
            ]
        },
        {
            "Verb": "Get",
            "Noun": "PCInterfaceFlag",
            "OriginalName": "C:/Windows/system32/certutil.exe",
            "OriginalCommandElements": ["-v"],
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-getreg",
                    "Name": "GetReg",
                    "DefaultValue": "CA\\InterfaceFlags",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify InterfaceFlags",
                    "OriginalPosition": 1
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseInterfaceFlag"
                }
            ]
        },
        {
            "Verb": "Enable",
            "Noun": "PCInterfaceFlag",
            "OriginalName": "C:/Windows/system32/certutil.exe",
            "OriginalCommandElements": ["-v"],
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-setreg",
                    "Name": "SetReg",
                    "DefaultValue": "CA\\InterfaceFlags",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify InterfaceFlags",
                    "OriginalPosition": 1
                },
                {
                    "OriginalName": "+",
                    "Name": "Flag",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "NoGap": true,
                    "AdditionalParameterAttributes": [
                        "[ValidateSet('IF_LOCKICERTREQUEST','IF_NOREMOTEICERTREQUEST','IF_NOLOCALICERTREQUEST','IF_NORPCICERTREQUEST','IF_NOREMOTEICERTADMIN','IF_NOLOCALICERTADMIN','IF_NOREMOTEICERTADMINBACKUP','IF_NOLOCALICERTADMINBACKUP','IF_NOSNAPSHOTBACKUP','IF_ENFORCEENCRYPTICERTREQUEST','IF_ENFORCEENCRYPTICERTADMIN','IF_ENABLEEXITKEYRETRIEVAL','IF_ENABLEADMINASAUDITOR','IF_ENABLEPRESIGNSUPPORT')]"
                    ],
                    "Description": "Specify Flag to Enable",
                    "OriginalPosition": 2
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseModifyFlag"
                }
            ]
        },
        {
            "Verb": "Disable",
            "Noun": "PCInterfaceFlag",
            "OriginalName": "C:/Windows/system32/certutil.exe",
            "OriginalCommandElements": ["-v"],
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-setreg",
                    "Name": "SetReg",
                    "DefaultValue": "CA\\InterfaceFlags",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify InterfaceFlags",
                    "OriginalPosition": 1
                },
                {
                    "OriginalName": "-",
                    "Name": "Flag",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "NoGap": true,
                    "AdditionalParameterAttributes": [
                        "[ValidateSet('IF_LOCKICERTREQUEST','IF_NOREMOTEICERTREQUEST','IF_NOLOCALICERTREQUEST','IF_NORPCICERTREQUEST','IF_NOREMOTEICERTADMIN','IF_NOLOCALICERTADMIN','IF_NOREMOTEICERTADMINBACKUP','IF_NOLOCALICERTADMINBACKUP','IF_NOSNAPSHOTBACKUP','IF_ENFORCEENCRYPTICERTREQUEST','IF_ENFORCEENCRYPTICERTADMIN','IF_ENABLEEXITKEYRETRIEVAL','IF_ENABLEADMINASAUDITOR','IF_ENABLEPRESIGNSUPPORT')]"
                    ],
                    "Description": "Specify Flag to Disable",
                    "OriginalPosition": 2
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseModifyFlag"
                }
            ]
        },
        {
            "Verb": "Get",
            "Noun": "PCDisableExtensionList",
            "OriginalName": "C:/Windows/system32/certutil.exe",
            "OriginalCommandElements": ["-v"],
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-getreg",
                    "Name": "GetReg",
                    "DefaultValue": "policy\\DisableExtensionList",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify policy\\DisableExtensionList",
                    "OriginalPosition": 1
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseDisableExtensionList"
                }
            ]
        },
        {
            "Verb": "Get",
            "Noun": "PCAuditFilter",
            "OriginalName": "C:\\Windows\\system32\\certutil.exe",
            "Platform": [
                "Windows"
            ],
            "SupportsShouldProcess": false,
            "SupportsTransactions": false,
            "NoInvocation": false,
            "Parameters": [
                {
                    "OriginalName": "-config",
                    "Name": "CAFullName",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": true,
                    "Description": "Specify the Full Name of the Certificate Authority in the form 'FQDN\\CA Name'",
                    "OriginalPosition": 0
                },
                {
                    "OriginalName": "-getreg",
                    "Name": "GetReg",
                    "DefaultValue": "CA\\AuditFilter",
                    "ParameterType": "string",
                    "ParameterSetName": [
                        "Default"
                    ],
                    "Mandatory": false,
                    "Description": "Specify AuditFilter",
                    "OriginalPosition": 1
                }
            ],
            "Examples": [],
            "OutputHandlers": [
                {
                    "ParameterSetName": "Default",
                    "HandlerType": "Function",
                    "Handler": "parseAuditFilter"
                }
            ]
        }
    ]
}