The "AutomaticDelayedStart" value is only available with PowerShell 6 and above.
You'd need to leverage the registry value for now
I'd suggest using the "Run Scripts" Feature as Youseff said, and using a script like this:
[CmdletBinding()]
Param (
[Parameter(Mandatory=$true,Position=1,HelpMessage="Service Name")]
[ValidateNotNullOrEmpty()]
$ServiceName
)
if (Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Services\$ServiceName")
{
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\$ServiceName" -Name 'Start' -Value '1' -Force
write-output "Value for $($ServiceName): $(Get-ItemPropertyValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\$ServiceName" -Name 'Start')"
}
else
{
Write-Output "NO Service $ServiceName On this machine"
}