Skip to main content

Can anyone assist me with creating a script for Knowbe4 Secondchance? I am not familiar with inputting License keys in scripts. 

Hi @Jchung!

According to Knowbe4’s documentation, the Phish Alert Outlook addin can be installed with a license key by passing the LICENSEKEY parameter to the installer.

Source: https://support.knowbe4.com/hc/en-us/articles/7142051893011#COMMAND

 

If you are looking to perform a targeted installation of the software through Automox, my recommendation would be to use a Required Software Policy. Here you’ll be able to upload the PhishAlertButtonSetup.exe installer to the Payload, and provide a simple Powershell install command.


Here’s an example:

$installer = 'PhishAlertButtonSetup.exe' 
$args = "/q /ComponentArgs "KnowBe4 Phish Alert Button":"LICENSEKEY=""license_key""""
Start-Process -FilePath $installer -ArgumentList $args -Wait

Note: You’ll replace license_key with your key.

 

I hope this helps!


Have a great day!


Hello,

 

Thank you for the reply. I was trying to install Knowbe4’s Second Chance option.  

It is different from the Phish Alert Button.


Got it!

Per their documentation, it looks like the install method is the same, and the aforementioned solution should work. 

Source: https://support.knowbe4.com/hc/en-us/articles/115011813867-Second-Chance-Installation-and-Product-Manual#COMMAND_LINE_INSTALL

 

 


Great! Thank you so much!


Reply