@@ -11,7 +11,8 @@ title: Get-MpPreference
11
11
# Get-MpPreference
12
12
13
13
## SYNOPSIS
14
- Gets preferences for the Windows Defender scans and updates.
14
+
15
+ Returns settings and configuration for Windows Defender.
15
16
16
17
## SYNTAX
17
18
@@ -25,23 +26,27 @@ Get-MpPreference
25
26
26
27
## DESCRIPTION
27
28
28
- The ` Get-MpPreference ` cmdlet gets preferences for the Windows Defender scans and updates . For more
29
- information about the preferences that this cmdlet retrieves, see
29
+ The ` Get-MpPreference ` cmdlet returns settings for Windows Defender. For more
30
+ information about the settings that this cmdlet retrieves, see
30
31
[ Windows Defender Preferences Class] ( /previous-versions/windows/desktop/legacy/dn455323(v=vs.85) ) .
31
32
32
33
## EXAMPLES
33
34
34
- ### Example 1: View the scheduled scan day
35
+ ### Example 1: View all settings
35
36
36
37
``` powershell
37
- PS C:\> $Preferences = Get-MpPreference
38
- PS C:\> $Preferences.ScanScheduleDay
38
+ Get-MpPreference
39
39
```
40
40
41
- The first command gets the preferences, and then stores them in the ** $Preferences** variable.
41
+ This example returns all settings for Windows Defender.
42
+
43
+ ### Example 2: View the scheduled scan day
44
+
45
+ ``` powershell
46
+ Get-MpPreference | Format-List ScanScheduleDay
47
+ ```
42
48
43
- The second command uses standard dot syntax to display the ** ScanScheduleDay** property of the
44
- object stored in the ** $Preferences** variable.
49
+ This example returns the current value of the ** ScanScheduleDay** setting.
45
50
46
51
## PARAMETERS
47
52
@@ -92,7 +97,7 @@ Accept wildcard characters: False
92
97
### -ThrottleLimit
93
98
94
99
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If
95
- this parameter is omitted or a value of ` 0` is entered, then Windows PowerShell® calculates an
100
+ this parameter is omitted or a value of ` 0` is entered, then Windows PowerShell calculates an
96
101
optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the
97
102
computer. The throttle limit applies only to the current cmdlet, not to the session or to the
98
103
computer.
0 commit comments