Windows Defender Information

Published: Sep 8, 2021 by Bertland Hope

Gathers basic Windows Defender Information such as product version and signature version using the built-in cmdlet Get-MpComputerStatus found in the defender module.

Requirements

  • Windows 10/Server 2016 or higher
  • The Windows Defender service must be running

if (-Not(Get-Command Get-MpComputerStatus -ErrorAction SilentlyContinue)) {
	throw "Unable to find Get-MpComputerStatus. Available on Windows 10/Server 2016 or higher"
}

$DefenderStatus = (Get-Service WinDefend -ErrorAction SilentlyContinue).Status

if ($DefenderStatus -ne "Running") {
	throw "The Windows Defender service is not currently running"
}

Get-MpComputerStatus

Share

Latest News

10 Ways the ICT Performance Boost for Vision 2030 Jamaica Can Save You Money!
10 Ways the ICT Performance Boost for Vision 2030 Jamaica Can Save You Money!

10 Ways the ICT Performance Boost for Vision 2030 Jamaica Can Save You Money

What is a Constellation?
What is a Constellation?

What is a Constellation?

How are Pearls formed?
How are Pearls formed?

How are Pearls formed?

Chicken Back Gravy and Such Delights: Life Lessons From My Journey

Chicken Back Gravy and Such Delights: Life Lessons From My Journey

By Donna P. Hope

From $6.74

Inna Di Dancehall: Popular Culture And the Politics of Identity in Jamaica

Inna Di Dancehall: Popular Culture And the Politics of Identity in Jamaica

Donna P. Hope

From $22.96