Skip to content

Commit dadc3a9

Browse files
committed
Update microsoft-defender-antivirus-on-windows-server.md
1 parent 575d08d commit dadc3a9

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

defender-endpoint/microsoft-defender-antivirus-on-windows-server.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,26 +68,15 @@ If you need to install or reinstall Microsoft Defender Antivirus on Windows Serv
6868
6969
## Verify Microsoft Defender Antivirus is running
7070

71-
After you've installed (or reinstalled) Microsoft Defender Antivirus, your next step is to verify that it's running. Use the PowerShell cmdlets in the following table:
71+
After you've installed (or reinstalled) Microsoft Defender Antivirus, your next step is to verify that it's running. You can use either PowerShell or Command Prompt.
7272

73-
| Procedure | PowerShell cmdlet |
74-
|:---|:---|
75-
| Verify that Microsoft Defender Antivirus is running | `Get-Service -Name windefend` |
76-
| Verify that firewall protection is turned on | `Get-Service -Name mpssvc` |
77-
78-
As an alternative to PowerShell, you can use Command Prompt to verify that Microsoft Defender Antivirus is running. To do that, run the following command from a command prompt:
79-
80-
```cmd
81-
sc query Windefend
82-
```
73+
- PowerShell: `Get-Service -Name windefend`
74+
- Command Prompt: `sc query Windefend`
8375

84-
The `sc query` command returns information about the Microsoft Defender Antivirus service. When Microsoft Defender Antivirus is running, the `STATE` value displays `RUNNING`.
76+
To verify that firewall protection is turned on using PowerShell, run the following command: `Get-Service -Name mpssvc`.
8577

86-
To view all the services that aren't running, run the following PowerShell cmdlet:
78+
To view verify the state of all services using Command Prompt, run the following command: `sc query state= all`.
8779

88-
```cmd
89-
sc query state= all
90-
```
9180

9281
## Update antimalware security intelligence
9382

0 commit comments

Comments
 (0)