last sync: 2020-Sep-24 14:01:31 UTC

Azure Policy Initiative

[Deprecated]: Audit Windows VMs that do not have the specified Windows PowerShell execution policy

Initiative DisplayName [Deprecated]: Audit Windows VMs that do not have the specified Windows PowerShell execution policy
Initiative Id f000289c-47af-4043-87da-91ba9e1a2720
Initiative Category Guest Configuration
Initiative 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
Initiative Type BuiltIn
Initiative Changes
Date/Time (UTC ymd) (i) Change(s)
2020-08-28 14:17:28 change DisplayName Name change: 'Audit Windows VMs that do not have the specified Windows PowerShell execution policy' to '[Deprecated]: Audit Windows VMs that do not have the specified Windows PowerShell execution policy'
Initiative Policies count Total Policies: 2
Builtin Policies: 2/2
Static Policies: 0/2
Initiative Policies
Policy DisplayName Policy Id
[Deprecated]: Deploy prerequisites to audit Windows VMs that do not have the specified Windows PowerShell execution policy e0efc13a-122a-47c5-b817-2ccfe5d12615
[Deprecated]: Show audit results from Windows VMs that do not have the specified Windows PowerShell execution policy f8036bd0-c10b-4931-86bb-94a878add855
Initiative Rule
{
  "properties": {
  "displayName": "[Deprecated]: 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": "[Deprecated]: PowerShell Execution Policy",
          "description": "The expected PowerShell execution policy."
        },
        "allowedValues": [
          "AllSigned",
          "Bypass",
          "Default",
          "RemoteSigned",
          "Restricted",
          "Undefined",
          "Unrestricted"
        ]
      }
    },
    "policyDefinitions": [
      {
        "policyDefinitionReferenceId": "Deploy_WindowsPowerShellExecutionPolicy",
        "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e0efc13a-122a-47c5-b817-2ccfe5d12615",
        "parameters": {
          "ExecutionPolicy": {
          "value": "[parameters('ExecutionPolicy')]"
          }
        }
      },
      {
        "policyDefinitionReferenceId": "Audit_WindowsPowerShellExecutionPolicy",
        "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f8036bd0-c10b-4931-86bb-94a878add855"
      }
    ]
  },
  "id": "/providers/Microsoft.Authorization/policySetDefinitions/f000289c-47af-4043-87da-91ba9e1a2720",
  "type": "Microsoft.Authorization/policySetDefinitions",
  "name": "f000289c-47af-4043-87da-91ba9e1a2720"
}