The script helps you to Collect the Windows Update logs of the System and transfer the files to SFTP server.
Provide your sftp settings in the variable path sftp_settings (e,g) sftp://username:password@Hostname
Provide your location where file should be saved in the variable path location (e.g) C:\\Users\\user1
it will uploaded windows update.log file as compressed zip file and that will be sent automatically to the sftp server in the below mentioned filename format.
In the Above mentioned Example filename "kayako_ticket_number" is followed by the "WINDOWSUPDATELogData" with the computer name and the TImestamp (Date(yyyy-mm-dd),time(hh:mm:ss))
Please run the script as system user