Get-DiagnosticDataViewingSetting

Fetches whether diagnostic data viewing is currently enabled or disabled.

Syntax

Get-DiagnosticDataViewingSetting []

Description

This cmdlet returns the current state of diagnostic data viewing. This state indicates whether diagnostic data viewing is enabled for this device. If disabled, this tool will throw an error.

Examples

EXAMPLE 1

Get-DiagnosticDataViewingSetting

Checks if Diagnostic Data Viewing is enabled.

Outputs

String

Notes

Requires Windows 10 version 17134 (1803) or higher