Offboarding Scripts - Template - Partner
Summary
This document is crafted to walk you through the utilization of the Offboarding Scripts - Partner  script to run the Sub Scripts before retiring the machine from Automate.
Dependencies
How to Use
- Import the Offboarding Wrapper script into Automate from the ProSync plugin.
- Go to the Automation -> Scripts -> Client Specificfolder and duplicate theOffboarding Scripts - Partner [Template]script.
- Remove the word Templatefrom the script name and save it.
- Discuss with the Consultant regarding all the applications Partner would like to remove And any scripts other then Application removal like Domain removal, Removing Existing VPNs before offboarding.
- Figure out if those applications are getting removed using Remove Application script.
- If any application is not getting removed using Remove Application then determine the dedicated script for that application uninstallation.
- Build the script for the partner using the following steps:
- For Applications that can be removed using Remove Application script:
- The current template is for just two applications. This can be increased if there are more than two scripts
- Define the first Application name in the App1global parameter.
- Define the second Application name in the App2global parameter.
- In case there are more than two applications:
- Add another parameter App3in global parameters
- Repeat Script steps 16 to 20 after line 20.
- Replace @App2@with@App3@in the repeated steps.
- Replace Go to of step 19 from :Uninstall DedicatedApp1to:Verify App3 Uninstall.
 
- Add another parameter 
 
- For Applications that cannot be removed using Remove Application and has a dedicated uninstall script:
- The current template is for just one application. This can be increased as per partners' requirements.
- Define the first Application name in the DedicatedApp1global parameter.
- Call the dedicated script for this application in the Uninstall DedicatedApp1section at step 22.
- In case there are more than one such application:
- Add another parameter DedicatedApp2in global parameters
- Repeat Script steps 22 to 29 after line 29 after line 29.
- Replace @DedicatedApp1@with@DedicatedApp2@in the repeated steps.
- Replace Go to of step 28 from :Run AdditionalScript1to:Uninstall DedicatedApp2
 
- Add another parameter 
 
- Use the :Run AdditionalScript1section only if the client wants to run any Script besides Application Removals.
- Open the Offboarding Wrapperscript and update the script to use this updated script instead of the template one.
 
- For Applications that can be removed using Remove Application script: