I am trying to change the startup type of All services whose name start with 'Oracle' to Manual, I am using below code, but it' not working.
wmic service where "displayname like 'Oracle%'" call ChangeStartMode "Manual"
wmic service where "name like 'Oracle%' and Startmode<>'Manual'" call ChangeStartmode Manual