Hello, I'm trying to import a CSV from ServiceNow that consist of our incidents.
When I use import-csv C:\file.csv -header 'computername' it displays the first column
Which definitely ins't the computer, however if I do import-csv C:\file.csv | select-object -property 'computername'
It displays correct
Any ideas why?
CSV issues
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- apowershelluser
- Posts: 194
- Last visit: Mon Apr 15, 2024 3:21 pm
- apowershelluser
- Posts: 194
- Last visit: Mon Apr 15, 2024 3:21 pm