| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Creates or updates local managed module catalog cache settings.
Set-ManagedModuleCatalog [[-Name] <string>] [-Source <string>] [-RepositoryKind <ManagedModuleRepositoryKind>] [-Mode <ManagedModuleCatalogCacheMode>] [-MaxStaleness <timespan>] [-IncludePrerelease <bool>] [-Scope <ModuleRepositoryProfileScope>] [-WhatIf] [-Confirm] [<CommonParameters>]The catalog stores local repository metadata only. It does not mirror package blobs unless a later package cache feature is explicitly enabled. Managed module commands can use this metadata as an opt-in fallback when live repository metadata is unavailable.
Set-ManagedModuleCatalog -Name PSGallery -Mode Fallback -MaxStaleness 14.00:00:00Stores user-local catalog settings for the canonical PowerShell Gallery source.
Include prerelease versions during catalog refresh.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueMaximum age accepted for stale catalog fallback decisions.
Type: TimeSpan
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueLocal catalog cache mode.
Type: ManagedModuleCatalogCacheMode
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Off, ReadThrough, Fallback, PreferCache, Offline
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCatalog name, usually the repository 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: TrueRepository kind used by the catalog refresh path.
Type: ManagedModuleRepositoryKind
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Auto, NuGetV3, NuGetV2, LocalFolder
Required: False
Position: named
Default value: None
Accept pipeline input: False
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: TrueRepository source URL used to refresh metadata.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
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.
None
PowerForge.ManagedModuleCatalog
- None