Share via


Set-SCSPFTelemetry

Sets telemetry.

Syntax

Empty (Default)

Set-SCSPFTelemetry
    [<CommonParameters>]

FromTelemetryStateParameterSetName

Set-SCSPFTelemetry
    -Enabled <Boolean>
    [<CommonParameters>]

Description

The Set-SCSPFTelemetry cmdlet enables or disables telemetry for Service Provider Foundation.

Microsoft collects diagnostic and usage data from Service Provider Foundation over the Internet. Microsoft uses this data to improve the quality, security, and integrity of its products and services. You can use this cmdlet to enable or disable the telemetry that Microsoft collects.

Examples

Example 1: Disable telemetry

PS C:\>Set-SCSPFTelemetry -Enabled $False

This command disables the sharing of diagnostics and usage data in Service Provider Foundation.

Example 2: Enable telemetry

PS C:\>Set-SCSPFTelemetry -Enabled $True

This command enables diagnostics and usage data sharing in Service Provider Foundation.

Parameters

-Enabled

Indicates whether telemetry is enabled.

Parameter properties

Type:System.Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

FromTelemetryStateParameterSetName
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object