I have written a script to fetch basic information of windows machine, and even i have converted the output to csv file.
If you are uploading simple information into excel, why don't you write the data directly into excel? I have written a PowerShell script to generate inventory from Azure and then it will save it to excel. Below is the link:
You may use it as a reference. Please let me know if this helped. Or we can discuss this further to come up with a solution tailored for you.
You must be logged in to reply to this topic.