---
title: "Set-PPEDefaultPolicy"
description: "Learn how to use the Set-PPEDefaultPolicy cmdlet to make a Password Policy Enforcer policy the default by specifying its name with -PolicyName."
sidebar_position: 190
---

# Set-PPEDefaultPolicy

The **Set-PPEDefaultPolicy** cmdlet sets the Password Policy Enforcer policy as the default.

**SYNTAX**

**Set-PPEDefaultPolicy** **-PolicyName**] `<_string_>` [`<_CommonParameters_>`]

**PARAMETERS**

**-PolicyName** `<_string_>`

Name of the policy. Can also use **-P** or **-p**.

`<_CommonParameters_>`

This cmdlet supports the common parameters: **Verbose**, **Debug**, **ErrorAction**,
**ErrorVariable**, **WarningAction**, **WarningVariable**, **OutBuffer**, **PipelineVariable**, and
**OutVariable**. See [about_CommonParameters](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7.5).

**EXAMPLE**

PS C:\> Set-PPEDefaultPolicy -PolicyName "Eval Policy"

**Default policy : Eval Policy**
