*Update available*
Hi,
I wrote a little Powershell script to update existing SEP 12.1 Installation Packages with the latest definitions for all modules.
Instructions:
On the SEPM 12.1 share the following folder for “everyone – read”
Export Packages without ticking the box “Create a single .EXE file for this package”
Ensure that the following .ZIP files exist in the 32Bit and 64Bit package folder:
Download the script and the modify the first lines for your environment
#Needs to be modified for each environment:
$SEPM = "SEPM.mycompany.local"
$content = "\content$"
$x86Setup = "C:\SEP\My Company_Workstations_WIN32BIT\Symantec Endpoint Protection version 12.1.1101.401\"
$x64Setup = "C:\SEP\My Company_Workstations_WIN64BIT\Symantec Endpoint Protection version 12.1.1101.401\"
The first two lines are for the SEPM Server name and the share of the content
The last two lines are the folders where your packages are stored. Save the script as .ps1
Now you can run the script and it will update the definition files in your package folders:
Packages are now up to date!
If you want to only update the Virus Definitions or only 32Bit / 64Bit Packages, you can delete the related lines in the "#Execution Sequence:" Part of the script.
Important Note: Do not run the script when liveupdate is installing new definitions on the SEP. This may damage your exported packages.
- Zebbelin
*Update*
Finally I managed to update the script :-)
Instructions for V0.2:
On the SEPM 12.1 share the following folder for “everyone – read”
Export Packages without ticking the box “Create a single .EXE file for this package”
Download the script and the modify the first lines for your environment:
#Needs to be modified for your environment:
$SEPM = "SEPM.mycompany.local"
$content = "\content$"
$Installers = "C:\SEP12\"
The first two Variables are for the SEPM Server name and the share of the content
The third Variable is the Folder where you store the Packages you want to update. Save the script as .ps1
Now you can run the script and it will update the definition files in your package folders:
Important Note: Do not run the script when liveupdate is installing new definitions on the SEP. This may damage your exported packages.
Improvements:
- You don´t need to specify separate Variables for the x64 and x86 Packages anymore. The script will search for Installers in the $Installers Variable
- You can update multiple packages with one script.
- The Script will only update definition files that exist in the Packages folder
- Includes all definition types based on the ContentInfo.txt for SEPM12.1.4
Cheers,
- Zebbelin