Get-PnPPowerShellTelemetryEnabled

Returns true if the PnP PowerShell Telemetry has been enabled.

Syntax

Get-PnPPowerShellTelemetryEnabled
   [-Connection <SPOnlineConnection>]

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------------------

Get-PnPPowerShellTelemetryEnabled

Will return true of false.

Parameters

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

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