last sync: 2020-Nov-30 15:25:09 UTC

Azure Policy Initiative

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

Name[Deprecated]: Audit Windows VMs that do not have the specified Windows PowerShell execution policy
Azure Portal
Idf000289c-47af-4043-87da-91ba9e1a2720
Version1.0.0-deprecated
details on versioning
CategoryGuest Configuration
Microsoft docs
DescriptionThis 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
TypeBuiltIn
DeprecatedTrue
PreviewFalse
History
Date/Time (UTC ymd) (i) Changes
2020-08-28 14:17:28 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'
Policy count Total Policies: 2
Builtin Policies: 2
Static Policies: 0
Policy used
Policy DisplayName Policy Id Category Effect State
[Deprecated]: Deploy prerequisites to audit Windows VMs that do not have the specified Windows PowerShell execution policy e0efc13a-122a-47c5-b817-2ccfe5d12615 Guest Configuration Fixed: deployIfNotExists Deprecated
[Deprecated]: Show audit results from Windows VMs that do not have the specified Windows PowerShell execution policy f8036bd0-c10b-4931-86bb-94a878add855 Guest Configuration Fixed: auditIfNotExists Deprecated
Json
{
  "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"
}