---
title: PowerShell Remote Alerts for Firewall, Defender and Antivirus | MSP360 Whitepaper
description: This is a free PowerShell script and a deployable file that checks the status of the essential Windows security services.
---

[![logo](https://get.msp360.com/hubfs/Resources/Logos%20MSP360-2022/logo_tag_150.png)](http://www.msp360.com)

Contact us

1-415-301-7773 1-866-4-MSP360

# PowerShell Script

# PowerShell Remote Alerts

for Firewall, Defender and Antivirus

We will be careful with your email address.  
Please review our [Privacy Policy](https://www.cloudberrylab.com/company/legal/privacy-policy.aspx)

./

![psalerts1](https://get.msp360.com/hubfs/psalerts1.png) ![psalerts2](https://get.msp360.com/hubfs/psalerts2.png) ![psalerts3](https://get.msp360.com/hubfs/psalerts3.png)

![PS script](https://get.msp360.com/hubfs/PS%20script.png)

![ps script lp](https://get.msp360.com/hubfs/ps%20script%20lp.png)

## About Whitepaper

If you find that your Windows security components are suddenly turned off, that might be the first sign of a ransomware attack. On the other hand, these components could simply have been turned off by a user who wanted to stop annoying updates or antivirus messages. Even that, however, opens a gate for a possible attack.

In any of those events, a system administrator or an MSP would want to know if any of the security systems is turned off. To help with that, we've created a PowerShell script that checks the status of the services listed below and sends an email alert if any of them is turned off:

- Windows Firewall
- Windows Defender
- Windows Update Service
- Any installed third-party antivirus

**In the document you will also find a link to download a deployable file. It will ease the process of mass deploy of the script.**

[Privacy policy](https://www.msp360.com/company/legal/privacy-policy.aspx) [Terms and Conditions](https://www.msp360.com/company/legal/terms-and-conditions.aspx)

© MSP360, 2026