How to send emailTemplate in SetActivationPassword.ps1 (Powershell)

I'm able to use the Powershell sample code SetActivationPassword.ps1 to set the activation password but it doesn't send the activation email. I'm assuming that to send the actiavtion email I'll need a value for emailTemplate but everything I've tried results in an error (sample code below). Can anyone share with me how to do this?