Enable-PnPPowerShellTelemetry

Enables PnP PowerShell telemetry tracking.

Syntax

Enable-PnPPowerShellTelemetry
      [-Force [<SwitchParameter>]]

Description

In order to help to make PnP PowerShell better, we can track anonymous telemetry. We track the version of the cmdlets you are using, which cmdlet you are executing and which version of SharePoint you are connecting to. Use Disable-PnPPowerShellTelemetry to turn this off, alternative, use the -NoTelemetry switch on Connect-PnPOnline to turn it off for that session.

Examples

------------------EXAMPLE 1------------------

Enable-PnPPowerShellTelemetry

Will prompt you to confirm to enable telemetry tracking.

------------------EXAMPLE 2------------------

Enable-PnPPowerShellTelemetry -Force

Will enable telemetry tracking without prompting.

Parameters

-Force

Specifying the Force parameter will skip the confirmation question.

Type:SwitchParameter
Position:Named
Accept pipeline input:False
Accept wildcard characters:False