{
    "properties": {
        "displayName": "Audit Windows VMs that do not have the specified Windows PowerShell execution policy",
        "policyType": "BuiltIn",
        "description": "This initiative deploys the policy requirements and audits Windows virtual machines where Windows PowerShell is not configured to use the specified PowerShell execution policy. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol",
        "metadata": {
            "version": "1.0.0-deprecated",
            "category": "Guest Configuration",
            "deprecated": true
        },
        "parameters": {
            "ExecutionPolicy": {
                "type": "string",
                "metadata": {
                    "displayName": "PowerShell Execution Policy",
                    "description": "The expected PowerShell execution policy."
                },
                "allowedValues": [
                    "AllSigned",
                    "Bypass",
                    "Default",
                    "RemoteSigned",
                    "Restricted",
                    "Undefined",
                    "Unrestricted"
                ]
            }
        },
        "policyDefinitions": [
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e0efc13a-122a-47c5-b817-2ccfe5d12615",
                "policyDefinitionReferenceId": "Deploy_WindowsPowerShellExecutionPolicy",
                "parameters": {
                    "ExecutionPolicy": {
                        "value": "[parameters('ExecutionPolicy')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f8036bd0-c10b-4931-86bb-94a878add855",
                "policyDefinitionReferenceId": "Audit_WindowsPowerShellExecutionPolicy"
            }
        ]
    },
    "id": "/providers/Microsoft.Authorization/policySetDefinitions/f000289c-47af-4043-87da-91ba9e1a2720",
    "name": "f000289c-47af-4043-87da-91ba9e1a2720"
}