Version 1.2.1.0 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot.

Get-PackageUpdateRule

For AI agents: a documentation index is available at /llms.txt; a markdown version of this page is available at /v1.2.1.0/es/docs/commands/get-packageupdaterule/index.md.

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

PS C:\> Get-PackageUpdateRule

Obtiene todas las reglas personalizadas existentes

EJEMPLO 2

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

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

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

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: “*”

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.

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.

ENTRADAS

System.Int32[]

PackageUpdate.Configuration

SALIDAS

PackageUpdate.ModuleRule