Skip to content

Comment out output #809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions reference/5.1/Microsoft.PowerShell.Utility/Export-Csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This command selects a few properties of the WmiPrvse process and exports them t
PS C:\>Get-Process | Export-Csv -Path "processes.csv"
# In processes.csv
#TYPE System.Diagnostics.Process
__NounName,Name,Handles,VM,WS,PM,NPM,Path,Company,CPU,FileVersion,... Process,powershell,626,201666560,76058624,61943808,11960,C:\WINDOWS... Process,powershell,257,151920640,38322176,37052416,7836,C:\WINDOWS\...
#__NounName,Name,Handles,VM,WS,PM,NPM,Path,Company,CPU,FileVersion,... #Process,powershell,626,201666560,76058624,61943808,11960,C:\WINDOWS... #Process,powershell,257,151920640,38322176,37052416,7836,C:\WINDOWS\...
```

This command exports objects representing the processes on the computer to the Processes.csv file in the current directory.
Expand All @@ -68,7 +68,7 @@ Because it does not specify a delimiter, a comma (,) is used to separate the fie
PS C:\>Get-Process | Export-Csv -Path "processes.csv" -Delimiter ";"
# In processes.csv
#TYPE System.Diagnostics.Process
__NounName;Name;Handles;VM;WS;PM;NPM;Path;Company;CPU;FileVersion;... Process;powershell;626;201666560;76058624;61943808;11960;C:\WINDOWS... Process;powershell;257;151920640;38322176;37052416;7836;C:\WINDOWS\...
#__NounName;Name;Handles;VM;WS;PM;NPM;Path;Company;CPU;FileVersion;... #Process;powershell;626;201666560;76058624;61943808;11960;C:\WINDOWS... #Process;powershell;257;151920640;38322176;37052416;7836;C:\WINDOWS\...
```

This command exports objects representing the processes on the computer to the Processes.csv file in the current directory.
Expand All @@ -87,7 +87,7 @@ It uses the *UseCulture* parameter to direct **Export-CSV** to use the delimiter
```
PS C:\>Get-Process | Export-Csv -Path "processes.csv" -NoTypeInformation
# In processes.csv
__NounName,Name,Handles,VM,WS,PM,NPM,Path,Company,CPU,FileVersion,... Process,powershell,626,201666560,76058624,61943808,11960,C:\WINDOWS... Process,powershell,257,151920640,38322176,37052416,7836,C:\WINDOWS\...
#__NounName,Name,Handles,VM,WS,PM,NPM,Path,Company,CPU,FileVersion,... #Process,powershell,626,201666560,76058624,61943808,11960,C:\WINDOWS... Process,powershell,257,151920640,38322176,37052416,7836,C:\WINDOWS\...
```

This command exports objects representing the processes on the computer to the Processes.csv file in the current directory.
Expand Down