Remove-​Azure​Managed​Cache​Named​Cache

Removes a named cache from a Managed Cache Service instance.

Syntax

Remove-AzureManagedCacheNamedCache
      [-Force]
      -Name <String>
      -NamedCache <String>
      [-PassThru]
      [-Profile <AzureSMProfile>]
      [<CommonParameters>]

Description

The Remove-AzureManagedCacheNamedCache cmdlet removes a named cache from the specified Azure Managed Cache Service instance in your Azure account.

Examples

Example 1: Remove the specified named cache from the specified Managed Cache Service instance

PS C:\>Remove-AzureManagedCacheNamedCache -Name "ContosoCache" -NamedCache "ContosoNamedCache" -Force -PassThru

This command removes an Azure cache named ContosoNamedCache.

Required Parameters

-Name

Specifies the name of the Managed Cache Service instance from which to remove the named cache.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-NamedCache

Specifies the name of the named cache that this cmdlet removes.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Indicates that this cmdlet returns a Boolean that indicates the success of the operation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Boolean

Notes