Quantcast
Channel: LabTech Forums
Viewing all articles
Browse latest Browse all 1265

Scripts | Re: Script: Email List of Computers Behind on Patching

$
0
0
This is great, thanks! The email I was getting didn't contain anything, so I made a few changes that I thought I'd share.

First, one of our clients has a comma in their name and it was messing up the csv. So I put quotes around @sqlCompany@
Image

I added a line to download CSVFileView from Nirsoft.

I used CSVFileView to create an html file from the csv and assigned the html contents to a variable.
Image

I used the variable containing the HTML to generate the report for the email.
Image

Viewing all articles
Browse latest Browse all 1265

Trending Articles