# 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
-->

## SINOPSIS

Recupera la configuración de PackageUpdateInfo desde el archivo de configuración del módulo.

## SINTAXIS

### __AllParameterSets

```
Get-PackageUpdateSetting [[-Path] <string>] [<CommonParameters>]
```

## ALIAS

Este cmdlet tiene los siguientes alias,

## DESCRIPCIÓN

Lee el archivo de configuración de PackageUpdateInfo y devuelve la configuración actual del comportamiento del módulo como un objeto PackageUpdate.Configuration.
El objeto devuelto incluye las reglas de actualización predeterminadas y personalizadas, el intervalo de comprobación de actualizaciones y las marcas de tiempo de la última comprobación y de la última comprobación exitosa.

## EJEMPLOS

### EJEMPLO 1

```powershell
PS C:\> Get-PackageUpdateSetting
```

Recupera la configuración actual de PackageUpdateInfo desde el archivo de configuración predeterminado.

### EJEMPLO 2

```powershell
PS C:\> Get-PackageUpdateSetting -Path "C:\temp\PackageUpdateInfo.json"
```

Lee la configuración de PackageUpdateInfo desde un archivo de configuración específico.

### EJEMPLO 3

```powershell
PS C:\> Get-PackageUpdateSetting | Select-Object -ExpandProperty UpdateCheckInterval
```

Devuelve el intervalo configurado para la comprobación de actualizaciones desde la configuración actual.

## PARÁMETROS

### -Path

La ruta completa al archivo de configuración que se desea leer.

Este parámetro es opcional.
Si se omite, la función usa la ruta de configuración predeterminada del módulo:
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

Este cmdlet soporta los parámetros comunes: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction y -WarningVariable. Para más información, consulta
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## SALIDAS

### PackageUpdate.Configuration

## NOTAS

Versión  : 1.1.0.0
Autor    : Andi Bellstedt
Fecha    : 2026-06-21
Palabras clave : PackageUpdateInfo, Update, Module, Setting

## ENLACES RELACIONADOS

- [packageupdateinfo.andibellstedt.com/docs/commands/get-packageupdatesetting](https://packageupdateinfo.andibellstedt.com/docs/commands/get-packageupdatesetting/)
