MSExchangeAntimalwareService = Get-WmiObject -Query "Select StartMode From Win32_Service Where Name='MSExchangeAntimalwareSvc'" ...