mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-08 10:37:22 +00:00
Minor changes to DDV PowerShell article
This commit is contained in:
parent
c9860ea84d
commit
781744b2d1
@ -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
|
||||||
|
@ -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,7 +126,7 @@ 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:
|
||||||
|
|
||||||
@ -134,7 +134,6 @@ You can export the results of each command to a separate file such as a csv by u
|
|||||||
PS C:\> Get-DiagnosticData | Export-Csv 'mydata.csv'
|
PS C:\> Get-DiagnosticData | Export-Csv 'mydata.csv'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Turn off data viewing
|
## Turn off data viewing
|
||||||
|
|
||||||
When you're done reviewing your diagnostic data, we recommend turning off data viewing to prevent using up more memory. Turning off data viewing stops Windows from saving a history of your diagnostic data and clears the existing history of diagnostic data from your device.
|
When you're done reviewing your diagnostic data, we recommend turning off data viewing to prevent using up more memory. Turning off data viewing stops Windows from saving a history of your diagnostic data and clears the existing history of diagnostic data from your device.
|
||||||
|
@ -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:
|
||||||
|
@ -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 that’s 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 that’s 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 user’s 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 user’s 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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user