mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 13:27:23 +00:00
Updated Microsoft-DiagnosticDataViewer.md
This commit is contained in:
parent
3918d5f287
commit
e81fcf2c08
@ -148,6 +148,9 @@ By default, the tool will show you up to 1GB or 30 days of data (whichever comes
|
||||
>[!IMPORTANT]
|
||||
>Modifying the maximum amount of diagnostic data viewable by the tool may come with performance impacts to your machine.
|
||||
|
||||
>[!IMPORTANT]
|
||||
>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 2048MB (2GB), you can run the following command.
|
||||
|
||||
```powershell
|
||||
@ -174,6 +177,7 @@ To reset the maximum data history size back to its original 1GB default value, r
|
||||
PS C:\> Set-DiagnosticStoreCapacity -Size 1024 -Time 720
|
||||
```
|
||||
|
||||
When resetting the size of your data history to a lower value, be sure to turn off data viewing and turn it back on in order to reclaim disk space.
|
||||
|
||||
## Related Links
|
||||
- [Module in PowerShell Gallery](https://www.powershellgallery.com/packages/Microsoft.DiagnosticDataViewer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user