# Get-PackageUpdateRule

LLMS index: [llms.txt](/v1.2.1.0/llms.txt)

---

<!-- This file is auto-generated using PlatyPS + HUGO Workflow automation. Avoid editing directly! Original Front-Matter:
date: 2026-06-07
document type: cmdlet
external help file: PackageUpdateInfo-Help.xml
flagTranslation: Primary
HelpUri: ""
Locale: en-US
Module Name: PackageUpdateInfo
ms.date: 06/07/2026
PlatyPS schema version: 2024-05-01
title: Get-PackageUpdateRule
type: docs
-->



## SINOPSIS

Obtén la(s) regla(s) para verificar y reportar sobre los módulos instalados

## SINTAXIS

### ShowAll (Predeterminado)

```
Get-PackageUpdateRule [-IncludeModuleForChecking <string>] [-ExcludeModuleFromChecking <string>]
 [-IncludeDefaultRule] [-SettingObject <Configuration>] [<CommonParameters>]
```

### ById

```
Get-PackageUpdateRule -Id <int[]> [-SettingObject <Configuration>] [<CommonParameters>]
```

## ALIAS

Este cmdlet tiene los siguientes alias,

## DESCRIPCIÓN

Este comando obtiene la(s) regla(s) personalizada(s) existente(s) sobre cómo se manejan los módulos en los informes.

## EJEMPLOS

### EJEMPLO 1

```powershell
PS C:\> Get-PackageUpdateRule
```

Obtiene todas las reglas personalizadas existentes

### EJEMPLO 2

```powershell
PS C:\> Get-PackageUpdateRule -Id 1
```

Obtiene la regla personalizada con Id 1

## PARÁMETROS

### -ExcludeModuleFromChecking

Nombres de módulos a excluir de la verificación de actualizaciones

```yaml
Type: String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- Exclude
- ExcludeModule
ParameterSets:
- Name: ShowAll
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -Id

El Id como identificador de la regla

```yaml
Type: Int32[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
  Position: Named
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -IncludeDefaultRule

Devuelve la ReglaPorDefecto del objeto de configuración, además de las reglas personalizadas

```yaml
Type: SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ShowAll
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -IncludeModuleForChecking

Nombres de módulos a incluir en la verificación de actualizaciones
Por defecto, se incluyen todos los módulos.

Valor predeterminado: "*"

```yaml
Type: String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- Include
- IncludeModule
ParameterSets:
- Name: ShowAll
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -SettingObject

Objeto de configuración analizado desde el comando Get-PackageUpdateSetting
Este es un parámetro opcional.
Por defecto, usará el objeto de configuración predeterminado
del módulo.

```yaml
Type: Configuration
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### ParámetrosComunes

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).

## ENTRADAS

### System.Int32[]

### PackageUpdate.Configuration

## SALIDAS

### PackageUpdate.ModuleRule
