packer-templates/scripts/sysprep-shutdown.ps1

3 lines
220 B
PowerShell
Raw Normal View History

2021-01-25 07:28:41 +00:00
# Kick off sysprep
start-process -FilePath 'C:/windows/System32/Sysprep/sysprep.exe' -ArgumentList '/oobe /generalize /shutdown "/unattend:C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\Unattend.xml"'
exit 0