| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Gets, tests, or exports saved managed module repository profiles.
Get-ManagedModuleRepository [[-Name] <string[]>] [-Test] [-ExportPath <string>] [-Force] [-PassThru] [-Scope <ModuleRepositoryProfileScope>] [-WhatIf] [-Confirm] [<CommonParameters>]Repository profiles contain non-secret feed settings. Use this cmdlet to review repository shape, test local onboarding readiness, or export profile definitions for another machine without creating another command family.
Get-ManagedModuleRepositoryReturns all repository profiles visible to the current user.
Get-ManagedModuleRepository -Name CompanyReturns the saved Azure Artifacts profile named Company.
Get-ManagedModuleRepository -Name Company -TestReturns local prerequisite and bootstrap readiness for the saved repository profile.
Get-ManagedModuleRepository -Name Company -ExportPath .\Company.repository.json -ForceWrites a non-secret JSON profile file that can be imported with Initialize-ManagedModuleRepository -Path.
Optional destination JSON file for exporting the selected profiles.
Type: String
Parameter Sets: __AllParameterSets
Aliases: Path
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOverwrite an existing export file.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional repository profile names. When omitted, all visible profiles are returned.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: ProfileName
Possible values:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueReturn profile objects after exporting.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueProfile store scope to read. The default reads user profiles first, then machine-wide profiles.
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: TrueReturn readiness information instead of profile definitions.
Type: SwitchParameter
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
PSPublishModule.ModuleRepositoryProfileResult PSPublishModule.ModuleRepositoryProfileReadinessResult— Readiness information for a saved private module repository profile.
- None