Skip to content

Latest commit

 

History

History
100 lines (76 loc) · 2.27 KB

File metadata and controls

100 lines (76 loc) · 2.27 KB
external help file PSPublishModule-help.xml
Module Name PSPublishModule
online version https://github.com/EvotecIT/PSPublishModule
schema 2.0.0

Remove-ManagedModuleRepository

SYNOPSIS

Removes a saved managed module repository profile.

SYNTAX

__AllParameterSets

Remove-ManagedModuleRepository [-Name] <string> [-PassThru] [-Scope <ModuleRepositoryProfileScope>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Removing a profile deletes only PSPublishModule's non-secret repository settings. It does not unregister native PowerShell repository state or clear external credential-provider token caches.

EXAMPLES

EXAMPLE 1

Remove-ManagedModuleRepository -Name Company

Deletes the saved Company profile from the current user's profile store.

EXAMPLE 2

Remove-ManagedModuleRepository -Name Company -PassThru

Returns True when the profile was removed, otherwise False.

PARAMETERS

-Name

Profile name to remove.

Type: String
Parameter Sets: __AllParameterSets
Aliases: ProfileName
Possible values:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-PassThru

Returns true when a profile was removed, otherwise false.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Scope

Profile store scope to remove from.

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: True

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

  • None

OUTPUTS

  • System.Boolean

RELATED LINKS

  • None