Reported by @Eagle3386 in #1: the script had to be modified locally "to allow for continuing instead of running it all again".
Right now any failure in the middle of the run (BitLocker, formatting, Dev Drive trust) aborts everything, and re-running starts from partition creation. On a machine where a step legitimately fails, that means repeating destructive work.
To do:
- make each stage idempotent: detect that the partition/volume/BitLocker protector already exists and skip instead of recreating
- allow the run to be resumed from the stage that failed
- decide whether this needs an explicit switch or should just be the default behaviour
Reported by @Eagle3386 in #1: the script had to be modified locally "to allow for continuing instead of running it all again".
Right now any failure in the middle of the run (BitLocker, formatting, Dev Drive trust) aborts everything, and re-running starts from partition creation. On a machine where a step legitimately fails, that means repeating destructive work.
To do: