> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell/fr/powershell-commands/new-rdmstandalonepassword.md).

# New-RDMStandalonePassword

New-RDMStandalonePassword génère un nouveau mot de passe aléatoire à utiliser dans Remote Desktop Manager, Devolutions Server ou Devolutions Cloud.

### Résumé

Créer un nouveau mot de passe aléatoire.

### Syntaxe

#### \_\_AllParameterSets

```
New-RDMStandalonePassword [-Mode] <PasswordGeneratorMode> [<CommonParameters>]
```

### Description

Créer un nouveau mot de passe aléatoire. Utilisable dans les flux de travail Remote Desktop Manager, Devolutions Server ou Devolutions Cloud. Le mode phrase de passe ne prend pas en charge les dictionnaires personnalisés.

### Exemples

#### Exemple 1

```powershell
PS C:\> $pwd = New-RDMStandalonePassword -Mode Default -MinimumLength 16 -MinimumDigit 2
```

Générer un mot de passe aléatoire avec le mode par défaut (minimum 16 caractères, au moins 2 chiffres).

#### Exemple 2

```powershell
PS C:\> $pwd = New-RDMStandalonePassword -Mode Strong
```

Générer un mot de passe aléatoire robuste avec les paramètres par défaut.

#### Exemple 3

```powershell
PS C:\> $pwd = New-RDMStandalonePassword -Mode Passphrase -WordCount 6 -Dictionary French
```

Générer une phrase de passe avec 6 mots français séparés par des traits d'union.

#### Exemple 4

```powershell
PS C:\> $pwd = New-RDMStandalonePassword -Mode Pattern -Pattern "uuullldddd" -Shuffle
```

Générer un mot de passe à partir d'un modèle (3 majuscules, 3 minuscules, 4 chiffres) et brasser le résultat

#### Exemple 5

```powershell
PS C:\> $pwd = New-RDMStandalonePassword -Mode SpecifiedSettings -Length 20 -Digit 4 -Uppercase 4 -Lowercase 8 -Special 4
```

Générer un mot de passe avec un nombre exact de caractères (20 au total : 4 chiffres, 4 majuscules, 8 minuscules, 4 caractères spéciaux).

#### Exemple 6

```powershell
PS C:\> $pwd = New-RDMStandalonePassword -Mode HumanReadable -Syllables 3 -Digit 2 -Symbols 1
```

Générer un mot de passe lisible par un humain avec 3 syllabes, 2 chiffres et 1 symbole.

#### Exemple 7

```powershell
PS C:\> $pwd = New-RDMStandalonePassword -Mode Pronounceable -MinimumLength 12 -CaseMode MixedCase
```

Générer un mot de passe prononçable (12 caractères) avec une casse mixte.

### Paramètres

#### -Mode

```yaml
Type: System.Nullable`1[Devolutions.RemoteDesktopManager.PasswordGeneratorMode]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### CommonParameters

Cette applet de commande prend en charge les paramètres communs : -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction et -WarningVariable. Pour plus d'information, consultez [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

### Notes

Pour plus d'information, tapez « Get-Help New-RDMStandalonePassword -detailed ». Pour de l'information technique, tapez « Get-Help New-RDMStandalonePassword -full ».


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/powershell/fr/powershell-commands/new-rdmstandalonepassword.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
