Skip to content

Commit f31e3d2

Browse files
authored
Fixed formatting
Updated PowerShell code blocks for exporting and converting performance reports to ensure consistent formatting.
1 parent 732fa94 commit f31e3d2

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

defender-endpoint/tune-performance-defender-antivirus.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,21 +111,22 @@ Starting with Defender version `4.18.2206.X`, users are able to view scan skip r
111111

112112
- **To export**:
113113

114-
```powershell
115-
(Get-MpPerformanceReport -Path .\Repro-Install.etl -Topscans 1000).TopScans | Export-CSV -Path .\Repro-Install-Scans.csv -Encoding UTF8 -NoTypeInformation
116-
```
114+
```powershell
115+
(Get-MpPerformanceReport -Path .\Repro-Install.etl -Topscans 1000).TopScans | Export-CSV -Path .\Repro-Install-Scans.csv -Encoding UTF8 -NoTypeInformation
116+
```
117117
118118
- **To convert**:
119-
```powershell
120-
(Get-MpPerformanceReport -Path .\Repro-Install.etl -Topscans 100).TopScans | ConvertTo-Csv -NoTypeInformation
121-
```
119+
120+
```powershell
121+
(Get-MpPerformanceReport -Path .\Repro-Install.etl -Topscans 100).TopScans | ConvertTo-Csv -NoTypeInformation
122+
```
122123
123124
### For JSON
124125
125126
- **To convert**:
126-
```powershell
127-
(Get-MpPerformanceReport -Path .\Repro-Install.etl -Topscans 1000).TopScans | ConvertTo-Json -Depth 1
128-
```
127+
```powershell
128+
(Get-MpPerformanceReport -Path .\Repro-Install.etl -Topscans 1000).TopScans | ConvertTo-Json -Depth 1
129+
```
129130
130131
To ensure machine-readable output for exporting with other data processing systems, it's recommended to use `-Raw` parameter for `Get-MpPerformanceReport`. See the following sections for more details.
131132

0 commit comments

Comments
 (0)