Packer.Images/scripts/Windows10/Register-ScheduledTask.ps1
djpbessems 00557e50f9
Some checks failed
continuous-integration/drone/push Build is failing
Replay sidestream changes
2021-04-10 15:32:31 +02: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"