Continuous Deployment

Register-cChocoExBootStrapTask

This function will create a scheduled task that invokes $env:ALLUSERSPROFILE\cChocoEx\bootstrap.ps1 at system startup and then repeats based on a defined delay in minutes. This function will also be invoked when using any of the optional loop parameters in Start-cChocoEx. If there is no predefined bootstrap.ps1 file found, a minimal one will be generated in its place.

Combine this with a highly customized bootstrap.ps1 to be able to really orchestrate a set of machines.

Register-cChocoExBootStrapTask -LoopDelay 90

Start-cChocoEx -Loop #Defaults to 60 minute delay

Start-cChocoEx -Loop -LoopDelay 90

Last updated

Was this helpful?