Set-Telemetry
Enables or disables the transfer of telemetry data to Microsoft.
Set-Telemetry [-Disable] [-Enable] [-AsJob]
The Set-Telemetry cmdlet lets you control whether or not telemetry data is sent to Microsoft by changing the corresponding setting in the registry.
Specifically, this cmdlet configures the domain group policy to set the telemetry registry value to 0 and stop the Windows UTC service from running on all infrastructure VMs and hosts.
Set-Telemetry -Enable
Set-Telemetry -Disable
Enables the transfer of telemetry data to Microsoft.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Disables the transfer of telemetry data to Microsoft.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
For information on how to access and use the privileged endpoint, see Use the privileged endpoint in Azure Stack Hub.