Set Windows Scheduler to reset mongoDB password on first boot

This task is run at every boot, password reset is set before boot, by reset-password-to-prep-mongo-AMI.ps1 Go Windows Scheduler Trigger at startup, the password is only reset if it isn’t already the Instance ID   Action is to run  -noprofile -executionpolicy bypass -file C:\Windows\Charming-Scripts\reset-passwd-4-mong-and-jscript.ps1     Conditions   settings   Hits: 18