I am using a windows server 2019 box and have created a powershell script setup an AD sandbox. It installs Active directory, creates a few OUs, groups and users.
Once AD is installed and promoted and goes to reboot, during reboot Vagrant then says shutting down then complete destroys the VM. There is a Winrm authorization error that spews all over the cli. Is there a way to overcome this? Should I be putting a sleep in the script or something like that?