Skip to content

Commit 28c9777

Browse files
update powershell cmd doc Test-DefenderAndAmsiWorkProperly
1 parent 8d5160d commit 28c9777

1 file changed

Lines changed: 79 additions & 0 deletions

File tree

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
module name: SharePointServer
3+
online version: https://learn.microsoft.com/powershell/module/sharepoint-server/test-defenderandamsiworkproperly
4+
applicable: SharePoint Server Subscription Edition
5+
title: Test-DefenderAndAmsiWorkProperly
6+
schema: 2.0.0
7+
---
8+
9+
# Test-DefenderAndAmsiWorkProperly
10+
11+
## SYNOPSIS
12+
13+
Tests that Windows Defender components and SharePoint AMSI integration are properly installed and running.
14+
15+
## SYNTAX
16+
17+
```powershell
18+
Test-DefenderAndAmsiWorkProperly [<CommonParameters>]
19+
```
20+
21+
## DESCRIPTION
22+
23+
Use the `Test-DefenderAndAmsiWorkProperly` cmdlet to verify that all Windows Defender components are installed and running correctly, and that SharePoint AMSI (Antimalware Scan Interface) integration is functioning properly.
24+
25+
This cmdlet performs comprehensive checks to ensure that the security infrastructure is operational and can protect SharePoint Server from malicious content. It validates both the Windows Defender antimalware engine and the AMSI integration that allows SharePoint to scan content for potential threats.
26+
27+
The cmdlet does not make any changes to the system configuration but provides diagnostic information about the current state of security components.
28+
29+
For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation at [SharePoint Server Cmdlets](https://learn.microsoft.com/powershell/sharepoint/sharepoint-server/sharepoint-server-cmdlets).
30+
31+
## EXAMPLES
32+
33+
### EXAMPLE 1
34+
35+
```powershell
36+
Test-DefenderAndAmsiWorkProperly
37+
```
38+
39+
This example tests the Windows Defender components and SharePoint AMSI integration to verify they are properly installed and running.
40+
41+
### EXAMPLE 2
42+
43+
```powershell
44+
Test-DefenderAndAmsiWorkProperly -Verbose
45+
```
46+
47+
This example tests the Windows Defender components and SharePoint AMSI integration with verbose output to provide detailed information about each component being checked.
48+
49+
## PARAMETERS
50+
51+
### CommonParameters
52+
53+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
54+
55+
## INPUTS
56+
57+
### None
58+
59+
This cmdlet does not accept any input objects.
60+
61+
## OUTPUTS
62+
63+
### System.Object
64+
65+
This cmdlet returns diagnostic information about the status of Windows Defender components and SharePoint AMSI integration.
66+
67+
## NOTES
68+
69+
- This cmdlet requires administrator privileges to access security component information.
70+
- Ensure that Windows Defender is properly configured and enabled before running this test.
71+
- SharePoint AMSI integration requires Windows Server 2016 or later with appropriate updates installed.
72+
73+
## RELATED LINKS
74+
75+
[SharePoint Server Cmdlets](https://learn.microsoft.com/powershell/sharepoint/sharepoint-server/sharepoint-server-cmdlets)
76+
77+
[Windows Defender Antivirus](https://learn.microsoft.com/windows/security/threat-protection/microsoft-defender-antivirus/)
78+
79+
[Antimalware Scan Interface (AMSI)](https://learn.microsoft.com/windows/win32/amsi/antimalware-scan-interface-portal)

0 commit comments

Comments
 (0)