# Get-PackageUpdateSetting

LLMS index: [llms.txt](/llms.txt)

---

<!-- This file is auto-generated using PlatyPS + HUGO Workflow automation. Avoid editing directly! Original Front-Matter:
date: 2026-06-22
document type: cmdlet
external help file: PackageUpdateInfo-Help.xml
flagTranslation: Primary
HelpUri: https://packageupdateinfo.andibellstedt.com/docs/commands/get-packageupdatesetting/
Locale: en-US
Module Name: PackageUpdateInfo
ms.date: 06/22/2026
PlatyPS schema version: 2024-05-01
title: Get-PackageUpdateSetting
type: docs
-->



## SYNOPSIS

Récupère la configuration PackageUpdateInfo depuis le fichier de paramètres du module.

## SYNTAX

### __AllParameterSets

```
Get-PackageUpdateSetting [[-Path] <string>] [<CommonParameters>]
```

## ALIASES

Cette cmdlet ne possède pas d’alias.

## DESCRIPTION

Lit le fichier de configuration PackageUpdateInfo et renvoie les paramètres actuels du comportement du module sous forme d’un objet PackageUpdate.Configuration.  
L’objet retourné inclut les règles de mise à jour par défaut et personnalisées, l’intervalle de vérification des mises à jour, ainsi que les horodatages des dernières vérifications et des dernières vérifications réussies.

## EXAMPLES

### EXEMPLE 1

```powershell
PS C:\> Get-PackageUpdateSetting
```

Récupère les paramètres actuels de PackageUpdateInfo depuis le fichier de configuration par défaut.

### EXEMPLE 2

```powershell
PS C:\> Get-PackageUpdateSetting -Path "C:\temp\PackageUpdateInfo.json"
```

Lit la configuration PackageUpdateInfo depuis un fichier de paramètres spécifique.

### EXEMPLE 3

```powershell
PS C:\> Get-PackageUpdateSetting | Select-Object -ExpandProperty UpdateCheckInterval
```

Renvoie l’intervalle de vérification des mises à jour configuré dans les paramètres actuels.

## PARAMETERS

### -Path

Le chemin complet vers le fichier de paramètres à lire.

Ce paramètre est optionnel.  
S’il est omis, la fonction utilise le chemin de paramètres par défaut du module :  
Linux :   "$HOME/.config/powershell/PackageUpdateInfo/PackageUpdateInfo_$($PSEdition)_$($PSVersionTable.PSVersion.Major).json"  
Windows : "$HOME\AppData\Local\Microsoft\Windows\PowerShell\PackageUpdateInfo_$($PSEdition)_$($PSVersionTable.PSVersion.Major).json"

```yaml
Type: String
DefaultValue: $script:ModuleSettingPath
SupportsWildcards: false
Aliases:
- FullName
- FilePath
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  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, voir  
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## OUTPUTS

### PackageUpdate.Configuration

## NOTES

Version  : 1.1.0.0  
Auteur   : Andi Bellstedt  
Date     : 2026-06-21  
Mots-clés : PackageUpdateInfo, Mise à jour, Module, Paramètre

## RELATED LINKS

- [packageupdateinfo.andibellstedt.com/docs/commands/get-packageupdatesetting](https://packageupdateinfo.andibellstedt.com/docs/commands/get-packageupdatesetting/)
