Table of Contents

Get-PnPPowerShellTelemetryEnabled

SYNOPSIS

Returns true if the PnP PowerShell Telemetry has been enabled.

SYNTAX

Get-PnPPowerShellTelemetryEnabled [-Connection <PnPConnection>] 

DESCRIPTION

In order to help to make PnP PowerShell better, we can track anonymous telemetry. For more information on what we collect and how to prevent this data from being collected, visit Configure PnP PowerShell.

EXAMPLES

EXAMPLE 1

Get-PnPPowerShellTelemetryEnabled

Will return true or 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: PnPConnection
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices