Export-Csv - not quite right error message
1 | Export-Csv
gets an error
> Export-Csv : You must specify either the -Path or -LiteralPath parameters, but not both.
The command specifies none of the -Path or -LiteralPath, not both, as the message claims.
Sebastian N. commented
The error message is completely fine. It tells you that you're missing a -Path or -LiteralPath parameter. In addition it tells you that these two parameters cannot be used concurrently with Export-CSV which is just a clarification on the use of the two possible mandatory parameters.