Packer.Images/scripts/ADDS/Register-ScheduledTask.ps1
djpbessems a1b63ef568
Some checks reported errors
continuous-integration/drone/push Build was killed
Rename FirstBoot;Various fixes wrt pw provisioning
2021-03-12 10:34:45 +01:00

7 lines
197 B
PowerShell

[CmdletBinding()]
Param(
# No parameters
)
# Create scheduled task
& schtasks.exe /Create /TN 'FirstBoot' /SC ONSTART /RU SYSTEM /TR "powershell.exe -file C:\Payload\Apply-FirstBootConfig.ps1"