> 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

### Synopsis

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 de 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 en 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 fort 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 composée de 6 mots français séparés par des tirets.

#### 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 mélanger 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 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 l'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 cmdlet prend en charge les paramètres communs : -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction et -WarningVariable. Pour plus d'informations, consultez [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

### Notes

Pour plus d'informations, tapez « Get-Help New-RDMStandalonePassword -detailed ». Pour les informations techniques, 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:

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

The question should be specific, self-contained, and written in natural language.
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.
