1 Reply Latest reply on Jul 15, 2016 2:05 PM by cwinning

    import csv file containing patches

    JayBrush Rookie

      The new Update 3 states you can export/import a CSV file that contains patches from an offline shavlik console to a internet facing shavlik console to make it easy to get the patches needed.  How do I import the csv file on the internet facing machine?

        • 1. Re: import csv file containing patches
          cwinning CommunityTeam

          Hello,

           

          I haven't been able to write official instructions, but this should work:

           

          How to download content data files and patches using the download PowerShell script:

           

          The ability to use this script to download patches is only available in Shavlik Protect 9.2.5119 or later.

          You can confirm the version in Help > About Shavlik.  The installer can be found here: http://www.shavlik.com/support/protect/downloads/

           

          In order to use the PowerShell script, the internet-connected machine must contain the following:

           

           

          How to create the list of patches to download:

           

          1. Scan machines on your disconnected network.
          2. View the scan results after the scan completes.  View > Results
          3. Right-click on the Patch Missing in the middle pane and choose Export Download Package…
            1. You can also choose specific patches using the CTRL-Click method after expanding the missing patches list.

           

               4. Give the .CSV a name and save to your desktop.

               5. Move this .CSV file to the folder that contains the DownloadProtectData.ps1 file.

           

          To use the PowerShell script:

           

          1. Create a folder on the internet connected machine on C:\
          2. Save the DownloadProtectData.zip file to this folder.
          3. Extract the PowerShell script (DownloadProtectData.ps1).
          4. Open a Windows Command Prompt with Run as administrator privileges.
          5. Change to the directory that contains the PowerShell script.
          6. Read Disclaimer.txt.
          7. Start PowerShell by typing ‘PowerShell’.
          8. Use the PowerShell script to download the desired files.

           

          • In this example, a folder was created here: C:\ProtectDATA.
          • We will be downloading Protect 9.2 content data.
          • The export port patch list is called Patches.csv located in C:\ProtectDATA

           

          This is the command:

           

          .\DownloadProtectData.ps1 "C:\ProtectDATA" 92 "C:\Program Files\7-Zip" "C:\ProtectDATA\Patches.csv"

           

          • The content data files will be located here: C:\ProtectDATA\DataFiles
            • These need to be moved to the C:\ProgramData\LANDESK\Shavlik Protect\Console\DataFiles
          • The patches will be located here: C:\ProtectDATA\Patches
            • These need to be moved to theC:\ProgramData\LANDESK\Shavlik Protect\Console\Patches  (default location shown, make sure to place them in your Patch folder location)

           

          If you receive an error stating “execution of scripts is disabled on this system” or “Cannot find Help for topic .\DownloadProtectData.ps1”, you can enable execution by typing: set-executionpolicy RemoteSigned

          1 of 1 people found this helpful