mirror of https://github.com/raandree/NTFSSecurity
Browse Source
The review of the matrix kit found no Blocker or Major issue and these Minor ones, all fixed here: - Add-OsMatrixMachine.ps1 assigned the path of the AutomatedLab disk deployment lock before it checked that the lock exists, so a refusal because another deployment held the lock made the finally block delete that foreign lock. The path is kept until this script has created the lock. - Repair-OsMatrixBoot.ps1 tested the switches of the machine with an array -ne, which is false for a machine without an adapter, so the guard that is meant to refuse a machine outside the lab let it through and the script turned it off. The guard counts the switches now. - Deploy-OsMatrixLab.ps1 took the installation and domain administrator password of the lab from Get-Random, which isn't a cryptographic generator. It uses RandomNumberGenerator without a remainder bias, as the controller does. - Run-MatrixLocalSuite.ps1 removed its scheduled tasks, which store the password of the account that runs them, only after a successful poll. The finally block of the machine removes the tasks of the run now. - Probe-EffectiveAccess.ps1 cleaned up the domain controller before the machine without a try block, so a failure there skipped the cleanup of the machine. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: AI Assistant <ai@example.com>pull/119/head
5 changed files with 46 additions and 13 deletions
Loading…
Reference in new issue