| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Refreshes package metadata in a local managed module catalog.
Update-ManagedModuleCatalog [[-Name] <string>] [[-PackageName] <string[]>] [-IncludePrerelease <bool>] [-Credential <pscredential>] [-CredentialUserName <string>] [-CredentialSecret <string>] [-CredentialSecretFilePath <string>] [-Scope <ModuleRepositoryProfileScope>] [-WhatIf] [-Confirm] [<CommonParameters>]Refreshes package metadata in a local managed module catalog.
Update-ManagedModuleCatalog -Name PSGallery -PackageName Pester, Microsoft.Graph.AuthenticationQueries live metadata and stores the known versions, dependency metadata, hashes, sizes, and package URLs locally.
Optional repository credential.
Type: PSCredential
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional repository credential secret.
Type: String
Parameter Sets: __AllParameterSets
Aliases: Password, Token
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional path to a file containing the repository credential secret.
Type: String
Parameter Sets: __AllParameterSets
Aliases: CredentialPath, TokenPath
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional repository credential username.
Type: String
Parameter Sets: __AllParameterSets
Aliases: UserName
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOverride the catalog's prerelease refresh setting for this run.
Type: Nullable`1
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCatalog name. Defaults to PSGallery.
Type: String
Parameter Sets: __AllParameterSets
Aliases: Repository, RepositoryName
Possible values:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePackage/module names to refresh. When omitted, existing catalog packages are refreshed.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: Package, Module, ModuleName
Possible values:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue, ByPropertyName)
Accept wildcard characters: TrueCatalog storage scope.
Type: ModuleRepositoryProfileScope
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: User, Machine, All
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
System.String[]
PowerForge.ManagedModuleCatalogUpdateResult
- None