I have written a Powershell script that should set a service to StatusType = 'Automatic'. But when I run the script it actually sets the StatusType = 'Automatic (Delayed Start) '. Below is my script:-
Set-Service -name 'XXXXX Data Import Service' -startupType automatic
Can anybody help me on setting the statusType to be just 'Automatic' ?