PowerShell/Docs/convert-csv2txt.md
2021-09-28 11:56:17 +02:00

42 lines
951 B
Markdown

# PowerShell Script: convert-csv2txt.ps1
```powershell
convert-csv2txt.ps1 [<csv-file>]
```
Converts a .CSV file into a text file
## Syntax & Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/convert-csv2txt.ps1 [[-Path] <String>] [<CommonParameters>]
```
```
-Path <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
```
```
[<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS>./convert-csv2txt salaries.csv
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of convert-csv2txt.ps1*