Uncategorized · March 20, 2021 0

Check Windows Defender services

Hi system admins,

the best way to answer whether Windows Defender is running on a computer or not is by checking the services related to defender.

In this thread I will show you how to use get-service command to filter and display Windows Defender services along with their status

$computerName = “someName”

Get-Service -ComputerName $computerName | where {$_.DisplayName -like "*Defender*"} | select Status, DisplayName

running the above command should show some result like this

as you see; Windows Defender Antivirus status was displayed.

Feel free to use the code and explore with your environment.

Have a nice day ; )

Jaber

Close Bitnami banner
Bitnami