> 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/export-dspamaccountaccessreport.md).

# Export-DSPamAccountAccessReport

Export-DSPamAccountAccessReport génère un rapport Devolutions Server sur l'accès aux identifiants PAM au format CSV, HTML ou XML.

### Synopsis

Générer un rapport détaillant l'accès aux identifiants PAM

### Syntaxe

#### VaultID (par défaut)

```
Export-DSPamAccountAccessReport -Path <string> [-VaultID <guid>] [-Type <ReportExportType>]
 [-NoClobber] [-PassThru] [-ResolveUserGroups] [-AsLegacyResponse] [<CommonParameters>]
```

#### EntryID

```
Export-DSPamAccountAccessReport -AccountID <guid[]> -Path <string> [-Type <ReportExportType>]
 [-NoClobber] [-PassThru] [-ResolveUserGroups] [-AsLegacyResponse] [<CommonParameters>]
```

### Description

Générer un rapport détaillant l'accès aux identifiants PAM, disponible aux formats CSV, HTML et XML. Par défaut, le système écrase tout fichier existant. Pour éviter cela, utilisez le commutateur NoClobber. Spécifiez les identifiants à inclure dans le rapport à l'aide des paramètres AccountID ou FolderID. Utilisez AccountID pour des identifiants individuels, et VaultID pour inclure tous les identifiants d'un coffre spécifié.

### Exemples

```powershell
PS C:\> Export-DSPamAccountAccessReport -VaultID '12345678-1234-1234-1234-1234567890AB' -Path 'myName.html' -Type Html
```

Exporter un rapport html nommé « myName » dans le répertoire actuel

### Paramètres

#### -AccountID

ID des comptes Pam

```yaml
Type: System.Guid[]
DefaultValue: ''
SupportsWildcards: false
Aliases:
- PamCredentialID
ParameterSets:
- Name: EntryID
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -AsLegacyResponse

Dans les versions antérieures à 2024.2, plusieurs applets de commande DS retournaient un objet ServerResponse. L'activation de ce commutateur de rétrocompatibilité permet aux scripts développés pour les versions antérieures de fonctionner correctement.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -NoClobber

Empêche l'applet de commande d'écraser les fichiers existants. Si un fichier portant le nom spécifié existe déjà, l'applet de commande génère une erreur au lieu d'écraser le fichier.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -PassThru

Permet à l'applet de commande de retourner les objets qu'elle a traités, ce qui est utile pour un traitement ultérieur dans le pipeline ou pour inspection.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Path

Spécifie le chemin du fichier de sortie vers lequel les données seront exportées. Le chemin peut être absolu ou relatif. Si seul un nom de fichier est fourni, le fichier sera créé dans le répertoire actuel. Si le fichier spécifié existe déjà, il sera écrasé. Pour éviter d'écraser un fichier existant, utilisez le commutateur -NoClobber.

```yaml
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -ResolveUserGroups

Remplacer les groupes d'utilisateurs par leurs membres

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Type

Spécifie le type de rapport : HTML (par défaut) et CSV

```yaml
Type: Devolutions.RemoteDesktopManager.ReportExportType
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -VaultID

ID du coffre Pam

```yaml
Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases:
- FolderID
ParameterSets:
- Name: VaultID
  Position: Named
  IsRequired: false
  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'informations, consultez [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

### Notes

Pour plus d'informations, tapez « Get-Help Export-DSPamAccountAccessReport -detailed ». Pour de l'information technique, tapez « Get-Help Export-DSPamAccountAccessReport -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/export-dspamaccountaccessreport.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.
