Hello,
I have a script to get quota usage on my server:
Get-FsrmQuota | Select-Object Path,
@{Label="Size GB"; Expression = { "{0:F0}" -f ($_.Size/1GB) }},
@{Label="Usage GB"; Expression = { "{0:F0}" -f ($_.Usage/1GB) }} |
Format-Table -AutoSize
what I wanted is to export it to .csv file.
tried:
| Export-Csv -Path “C:\Users\123.csv” - output was strange (like a SID instead of data)
Export-Csv -Path “C:\Users\123.csv” (no pipeline) - message received:
Supply values for the following parameters:
InputObject:
I also tried Google search and add -NoTypeInformation
please help