Packer.Images/scripts/ADDS/Register-ScheduledTask.ps1
djpbessems 0cf09c5ff9
All checks were successful
continuous-integration/drone/push Build is passing
Delete commit history (containing proprietary code)
2021-01-23 16:04:42 +01:00

7 lines
200 B
PowerShell

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