Nomad - Delete Package LsZ Files from List of DPs - PowerShell

Ok, this is more for me to reference than others.

Another great post to reference similar issues: https://miketerrill.net/2019/01/07/nomad-software-update-lsz-file-purge-aka-whack-a-mole/

Came across a problem with Nomad not downloading Packages properly, it was downloading the wrong version. (which would fail)
Clients were getting LsZ File (PS100044_1.LsZ) when the Server's content was actually version 3.
DP's were not updating the LsZ files, so I deleted them, then it would re-generate with the proper version.

Script does this:
You Provide a list of DP Servers
You Provide a list of Packages you want to remove the LsZ Files for
It loops through servers and deletes any LsZ files it finds for them

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.