imProcessCreate | where (TargetProcessName endswith "\\powershell.exe" or TargetProcessFileOriginalName =~ "PowerShell.EXE") and ((TargetProcessCommandLine contains "Set-Service" and TargetProcessCommandLine contains "-StartupType") and (TargetProcessCommandLine contains "Disabled" or TargetProcessCommandLine contains "Manual"))