KelvinTegelaar / PowerShellWarrantyReports

a repo dedicated to automatic warranty reporting and retrieval from different systems such as IT-Glue, Connectwise, Autotask, and N-central.
GNU Affero General Public License v3.0
173 stars 71 forks source link

No information on how to format input CSV file #59

Closed TheStuffClicker closed 1 year ago

TheStuffClicker commented 2 years ago

Both site and Github page have no information on how to format the input CSV file - I tried a simple list of Service Tags in the first column of a CSV and it does not work. The HTML report generates like so - image

MattTheEmp commented 1 year ago

I am sure this is maybe no longer helpful to you but i will leave this here for future people needing help. Including myself when i forget i already solved this lol

the ps command will look like this update-warrantyinfo -CSV -CSVFilePath "C:\Temp\maghp.csv" -GenerateReports -LogActions

and the csv should look like this

serialnumber,client,vendor, <S/N>,,HP, <S/N>,,HP,