Output Cmdlets
The default output for cmdlets is Out-Default
which redirects to Out-Host
The Out-Null
can be used to suppress the output
The cmdlets Export-Csv
and Export-Clixml
can be used to save results as CSV and XML files respectively.
Input Cmdlets
The cmdlet Get-Content
allows to read data from file
The cmdlets Import-Csv
and Import-Clixml
can be used to read in CSV and XML files.
The content that was written to files using the Export-*
cmdlets can be read into PS as objects. These imported objects are not the same as the original objects.