stop-SetupService -ServiceName FMS $amService = Get-Service MSExchangeAntimalwareSvc -ErrorAction SilentlyContinue if($amService) ...