< Back

Remove-AzureRmRedisCacheDiagnostics

Tue Jan 29, 2019 10:04 pm

NAME Remove-AzureRmRedisCacheDiagnostics



SYNOPSIS

Disables diagnostics on an Azure Redis Cache.





SYNTAX

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

[<CommonParameters>]





DESCRIPTION

The Remove-AzureRmRedisCacheDiagnostics cmdlet disables diagnostics on an Azure Redis Cache.





PARAMETERS

-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



-Name <String>

Specifies the name of the cache.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group that contains the cache.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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



<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

None







OUTPUTS

Void







NOTES





* Keywords: azure, azurerm, arm, resource, management, manager, redis, cache, web, webapp, website



Example 1: Disable diagnostics



PS C:\\>Remove-AzureRmRedisCacheDiagnostics -ResourceGroupName "ContosoResourceGroup" -Name "PeakCache" -Force



This command disables diagnostics on specified Azure Redis Cache.



This disables diagnostics for all Azure Redis Caches in the same region for the subscription.







RELATED LINKS

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

Set-AzureRmRedisCacheDiagnostics