how can I code in power shell to build excel spread sheets.<\/p>","upvoteCount":6,"answerCount":8,"datePublished":"2020-03-02T12:50:11.000Z","author":{"@type":"Person","name":"mlcomcast","url":"https://community.spiceworks.com/u/mlcomcast"},"suggestedAnswer":[{"@type":"Answer","text":"
how can I code in power shell to build excel spread sheets.<\/p>","upvoteCount":6,"datePublished":"2020-03-02T12:50:11.000Z","url":"https://community.spiceworks.com/t/creating-excel-work-sheets-using-powershell-scripts/753563/1","author":{"@type":"Person","name":"mlcomcast","url":"https://community.spiceworks.com/u/mlcomcast"}},{"@type":"Answer","text":"
There are a lot of convoluted ways to handle this, but I think simplicity is best here.<\/p>\n
You can export to CSV (Comma Separated Value) natively with Powershell.<\/p>\n
Export-Csv<\/p>\n
You can then convert to a spreadsheet with Excel.<\/p>","upvoteCount":1,"datePublished":"2020-03-02T13:06:04.000Z","url":"https://community.spiceworks.com/t/creating-excel-work-sheets-using-powershell-scripts/753563/2","author":{"@type":"Person","name":"spiceuser-9suz5","url":"https://community.spiceworks.com/u/spiceuser-9suz5"}},{"@type":"Answer","text":"
Give this a read:<\/p>\n