Minor changes to DDV PowerShell article

This commit is contained in:
Daniel H. Brown 2025-05-30 11:00:10 -07:00
parent c9860ea84d
commit 781744b2d1
4 changed files with 18 additions and 19 deletions

View File

@ -1,6 +1,6 @@
--- ---
description: Use this article to make informed decisions about how you can configure Windows diagnostic data in your organization. description: Use this article to make informed decisions about how you can configure Windows diagnostic data in your organization.
title: Configure Windows diagnostic data in your organization (Windows 10 and Windows 11) title: Configure Windows diagnostic data in your organization
ms.service: windows-client ms.service: windows-client
ms.subservice: itpro-privacy ms.subservice: itpro-privacy
ms.localizationpriority: high ms.localizationpriority: high

View File

@ -1,5 +1,5 @@
--- ---
title: Diagnostic Data Viewer for PowerShell Overview title: Diagnostic Data Viewer for PowerShell overview
description: Use this article to use the Diagnostic Data Viewer for PowerShell to review the diagnostic data sent to Microsoft by your device. description: Use this article to use the Diagnostic Data Viewer for PowerShell to review the diagnostic data sent to Microsoft by your device.
ms.service: windows-client ms.service: windows-client
ms.subservice: itpro-privacy ms.subservice: itpro-privacy
@ -15,7 +15,7 @@ ms.collection:
- must-keep - must-keep
--- ---
# Diagnostic Data Viewer for PowerShell Overview # Diagnostic Data Viewer for PowerShell overview
**Applies to** **Applies to**
@ -49,7 +49,7 @@ To install the newest version of the Diagnostic Data Viewer PowerShell module, r
PS C:\> Install-Module -Name Microsoft.DiagnosticDataViewer PS C:\> Install-Module -Name Microsoft.DiagnosticDataViewer
``` ```
To see more information about the module, go to the [Microsoft.DiagnosticDataViewer](https://www.powershellgallery.com/packages/Microsoft.DiagnosticDataViewer) page in the PowerShell Gallery. For more information about the module, go to the [Microsoft.DiagnosticDataViewer](https://www.powershellgallery.com/packages/Microsoft.DiagnosticDataViewer) page in the PowerShell Gallery.
### Turn on data viewing ### Turn on data viewing
@ -99,10 +99,10 @@ If the number of events is large, and you'd like to stop the command, enter `Ctr
The Diagnostic Data Viewer for PowerShell provides you with the following features to view and filter your device's diagnostic data. You can also use the extensive suite of other PowerShell tools with this module. The Diagnostic Data Viewer for PowerShell provides you with the following features to view and filter your device's diagnostic data. You can also use the extensive suite of other PowerShell tools with this module.
> [!NOTE] > [!TIP]
> For more information about the PowerShell commands available, see the [Microsoft.DiagnosticDataViewer module documentation](/powershell/module/microsoft.diagnosticdataviewer). > For more information about the PowerShell commands available, see the [Microsoft.DiagnosticDataViewer module documentation](/powershell/module/microsoft.diagnosticdataviewer).
### View your diagnostic events. ### View your diagnostic events
Running `PS C:\> Get-DiagnosticData`, you can review your diagnostic events. These events reflect activities that occurred and were sent to Microsoft. Running `PS C:\> Get-DiagnosticData`, you can review your diagnostic events. These events reflect activities that occurred and were sent to Microsoft.
@ -118,7 +118,7 @@ To view the diagnostic category represented by each numeric identifier and what
PS C:\> Get-DiagnosticDataTypes PS C:\> Get-DiagnosticDataTypes
``` ```
### Filter events by when they were sent. ### Filter events by when they were sent
You can view events within specified time ranges by specifying a start time and end time of each command. For example, to see all diagnostic data sent between 12 and 6 hours ago, run the following command. Data is shown in order of oldest first. You can view events within specified time ranges by specifying a start time and end time of each command. For example, to see all diagnostic data sent between 12 and 6 hours ago, run the following command. Data is shown in order of oldest first.
@ -126,14 +126,13 @@ You can view events within specified time ranges by specifying a start time and
PS C:\> Get-DiagnosticData -StartTime (Get-Date).AddHours(-12) -EndTime (Get-Date).AddHours(-6) PS C:\> Get-DiagnosticData -StartTime (Get-Date).AddHours(-12) -EndTime (Get-Date).AddHours(-6)
``` ```
### Export the results of each command. ### Export the results of each command
You can export the results of each command to a separate file such as a csv by using pipe `|`. For example: You can export the results of each command to a separate file such as a csv by using pipe `|`. For example:
```powershell ```powershell
PS C:\> Get-DiagnosticData | Export-Csv 'mydata.csv' PS C:\> Get-DiagnosticData | Export-Csv 'mydata.csv'
``` ```
## Turn off data viewing ## Turn off data viewing
@ -161,8 +160,8 @@ By default, the tool shows you up to 1 GB or 30 days of data (whichever comes fi
### Modify the size of your data history ### Modify the size of your data history
[!IMPORTANT] [!IMPORTANT]
> - Modifying the maximum amount of diagnostic data viewable by the tool might come with performance impacts to your machine. >- Modifying the maximum amount of diagnostic data viewable by the tool might come with performance impacts to your machine.
> - If you modify the maximum data history size from a larger value to a lower value, you must turn off data viewing and turn it back on in order to reclaim disk space. >- If you modify the maximum data history size from a larger value to a lower value, you must turn off data viewing and turn it back on in order to reclaim disk space.
You can change the maximum data history size (in megabytes) that you can view. For example, to set the maximum data history size to 2,048 MB (2 GB), you can run the following command. You can change the maximum data history size (in megabytes) that you can view. For example, to set the maximum data history size to 2,048 MB (2 GB), you can run the following command.

View File

@ -7,9 +7,9 @@
href: configure-windows-diagnostic-data-in-your-organization.md href: configure-windows-diagnostic-data-in-your-organization.md
- name: Diagnostic Data Viewer - name: Diagnostic Data Viewer
items: items:
- name: Diagnostic Data Viewer Overview - name: Diagnostic Data Viewer overview
href: diagnostic-data-viewer-overview.md href: diagnostic-data-viewer-overview.md
- name: Diagnostic Data Viewer for PowerShell Overview - name: Diagnostic Data Viewer for PowerShell overview
href: diagnostic-data-viewer-powershell.md href: diagnostic-data-viewer-powershell.md
- name: Required Windows diagnostic data events and fields - name: Required Windows diagnostic data events and fields
items: items:

View File

@ -60,7 +60,7 @@ The following table provides an overview of the Windows 10 and Windows 11 privac
[Diagnostic Data Viewer (DDV)](diagnostic-data-viewer-overview.md) is a Microsoft Store app (available in Windows 10, version 1803 and later and Windows 11) that lets a user review the Windows diagnostic data that is being collected on their Windows device and sent to Microsoft in real-time. DDV groups the information into simple categories that describe the data thats being collected. [Diagnostic Data Viewer (DDV)](diagnostic-data-viewer-overview.md) is a Microsoft Store app (available in Windows 10, version 1803 and later and Windows 11) that lets a user review the Windows diagnostic data that is being collected on their Windows device and sent to Microsoft in real-time. DDV groups the information into simple categories that describe the data thats being collected.
An administrator can also use the Diagnostic Data Viewer for PowerShell module to view the diagnostic data collected from the device instead of using the Diagnostic Data Viewer UI. The [Diagnostic Data Viewer for PowerShell Overview](diagnostic-data-viewer-powershell.md) provides further information. An administrator can also use the Diagnostic Data Viewer for PowerShell module to view the diagnostic data collected from the device instead of using the Diagnostic Data Viewer UI. The [Diagnostic Data Viewer for PowerShell overview](diagnostic-data-viewer-powershell.md) provides further information.
> [!Note] > [!Note]
> If the Windows diagnostic data processor configuration is enabled, IT administrators should use the admin portal to fulfill data subject requests to access or export Windows diagnostic data associated with a particular users device usage. For more information, see [The process for exercising data subject rights](#3-the-process-for-exercising-data-subject-rights). > If the Windows diagnostic data processor configuration is enabled, IT administrators should use the admin portal to fulfill data subject requests to access or export Windows diagnostic data associated with a particular users device usage. For more information, see [The process for exercising data subject rights](#3-the-process-for-exercising-data-subject-rights).
@ -184,14 +184,14 @@ Users can delete their device-based data by opening the Windows settings app and
### 3.2 View ### 3.2 View
The [Diagnostic Data Viewer (DDV)](diagnostic-data-viewer-overview.md) provides a view into the diagnostic data being collected from a Windows device. Administrators can also use the [Get-DiagnosticData](diagnostic-data-viewer-powershell.md#install-and-use-the-diagnostic-data-viewer-for-powershell) PowerShell cmdlet. The [Diagnostic Data Viewer (DDV)](diagnostic-data-viewer-overview.md) provides a view into the diagnostic data being collected from a Windows device. Administrators can also use the [Get-DiagnosticData](diagnostic-data-viewer-powershell.md) PowerShell cmdlet.
>[!Note] >[!Note]
>If the Windows diagnostic data processor configuration is enabled, IT administrators can view the diagnostic data that is associated with a user from the admin portal. >If the Windows diagnostic data processor configuration is enabled, IT administrators can view the diagnostic data that is associated with a user from the admin portal.
### 3.3 Export ### 3.3 Export
The [Diagnostic Data Viewer (DDV)](diagnostic-data-viewer-overview.md) provides the ability to export the diagnostic data captured while the app is running, by clicking the **Export** data button in the top menu. Administrators can also use the [Get-DiagnosticData](diagnostic-data-viewer-powershell.md#install-and-use-the-diagnostic-data-viewer-for-powershell) PowerShell cmdlet script. The [Diagnostic Data Viewer (DDV)](diagnostic-data-viewer-overview.md) provides the ability to export the diagnostic data captured while the app is running, by clicking the **Export** data button in the top menu. Administrators can also use the [Get-DiagnosticData](diagnostic-data-viewer-powershell.md) PowerShell cmdlet script.
>[!Note] >[!Note]
>If the Windows diagnostic data processor configuration is enabled, IT administrators can also export the diagnostic data that is associated with a user from the admin portal. >If the Windows diagnostic data processor configuration is enabled, IT administrators can also export the diagnostic data that is associated with a user from the admin portal.