2 Replies Latest reply on Jan 23, 2018 11:43 PM by Padmanabh Sahasrabudhe

    How do I automatically create Patching Jobs?

    Sean Berry

      Here's a script to generate Patching Remediation Jobs in an automated fashion.

       

       

      #

      # Call this script with the following parameters:

      #   $1  Region (ex: America)

      #   $2  DataCenterName (ex: DC.FL_LAB)

      #   $3  OS (ex: RHEL)

      #

       

       

       

       

      # Requirements

      # Must have the following static groups:

      # Jobs - /Windows/Implementation/Tasks/Patching/Remediation

      # Jobs - /Windows/Implementation/Tasks/Patching/GMT-THURS_00:00-06:00

      # Depot - /Windows/Implementation/Tasks/Patching/Remediation

      # Depot - /Windows/Implementation/Tasks/Patching/GMT-THURS_00:00-06:00

      # Server - /Windows/Implementation/Tasks/Patching/GMT-THURS_00:00-06:00

      # Depot - /Patching-Win

      #

      # Must have the following Objects

      # Jobs - /Windows/Implementation/Tasks/Patching/PatchTemplate  (BLPackage Deploy Job)

      # Jobs - /Windows/Implementation/Tasks/Patching/GMT-THURS_00:00-06:00/Patch Analysis

      # Windows Patch Catalog - /Patching-Win/Windows

       

       

       

       

      Bryan Diehl