< Back

Disable-AzureRmDataCollection

Tue Jan 29, 2019 10:00 pm

NAME Disable-AzureRmDataCollection



SYNOPSIS

Opts out of collecting data to improve the AzurePowerShell cmdlets. Data is not collected unless you explicitly opt in.





SYNTAX

Disable-AzureRmDataCollection [-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

You can improve the experience of using the Microsoft Cloud and Azure PowerShell by opting in to data collection. Azure PowerShell does not

collect data without your consent - you must explicitly opt in by executing Enable-AzureRmDataCollection, or by answering yes when Azure

PowerShell prompts you about collecting data the first time you execute a cmdlet. Microsoft aggregates collected data to identify patterns of

usage, to identify common issues and to improve the experience of using Azure PowerShell. Microsoft Azure PowerShell does not collect any private

data, or any personally identifiable information.



Run the Disable-AzureRMDataCollection cmdlet to disable data collection for the current user. This will prevent the current user from being

prompted about data collection the first time cmdlets are executed.



To enable data collection for the current user, run the Enable-AzureRmDataCollection cmdlet.





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



-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

This cmdlet does not accept any input.





OUTPUTS

None







NOTES









Example 1: Disabling data collection for the current user



PS C:\\> Disable-AzureRmDataCollection



This example shows how to disable data collection for the current user.







RELATED LINKS

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

Enable-AzureRmDataCollection