< Back

Remove-AzureRmContainerRegistry

Tue Jan 29, 2019 9:40 pm

NAME Remove-AzureRmContainerRegistry



SYNOPSIS

Removes a container registry.





SYNTAX

Remove-AzureRmContainerRegistry [-ResourceGroupName] <String> [-Name] <String> [-Confirm] [-WhatIf] [-DefaultProfile <IAzureContextContainer>]

[-PassThru] [<CommonParameters>]



Remove-AzureRmContainerRegistry -Registry <PSContainerRegistry> [-Confirm] [-WhatIf] [-DefaultProfile <IAzureContextContainer>] [-PassThru]

[<CommonParameters>]



Remove-AzureRmContainerRegistry [-Confirm] [-WhatIf] [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [-PassThru]

[<CommonParameters>]





DESCRIPTION

The Remove-AzureRmContainerRegistry cmdlet removes a container registry.





PARAMETERS

-Name <String>

Container Registry Name.



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Registry <PSContainerRegistry>

Container Registry Object.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceId <String>

The container registry resource id



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

Indicates that this cmdlet returns true if the removal was successful.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

PSContainerRegistry

Parameter 'Registry' accepts value of type 'PSContainerRegistry' from the pipeline





OUTPUTS

None







NOTES









Example 1: Remove a specified container registry



PS C:\\>Remove-AzureRmContainerRegistry -ResourceGroupName "MyResourceGroup" -Name "MyRegistry"



This command removes the specified container registry.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... erregistry

New-AzureRmContainerRegistry

Get-AzureRmContainerRegistry

Update-AzureRmContainerRegistry