1
1
---
2
2
description : Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
3
- external help file : ProcessMitigations.dll-Help.xml
3
+ external help file : Microsoft. ProcessMitigations.Commands .dll-Help.xml
4
4
Module Name : ProcessMitigations
5
5
ms.date : 03/29/2017
6
6
online version : https://docs.microsoft.com/powershell/module/processmitigations/get-processmitigation?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
@@ -15,27 +15,27 @@ Gets the current process mitigation settings, either from the registry, from a r
15
15
16
16
## SYNTAX
17
17
18
- ### FullPolicySet
18
+ ### FullPolicy (Default)
19
19
```
20
20
Get-ProcessMitigation [-FullPolicy] [<CommonParameters>]
21
21
```
22
22
23
- ### IdSet
23
+ ### NameMode
24
24
```
25
- Get-ProcessMitigation [-Id ] <Int32[]> [<CommonParameters>]
25
+ Get-ProcessMitigation [-Name ] <String> [-RunningProcesses] [<CommonParameters>]
26
26
```
27
27
28
- ### NameSet
28
+ ### IdMode
29
29
```
30
- Get-ProcessMitigation [-Name ] <String> [-RunningProcesses] [<CommonParameters>]
30
+ Get-ProcessMitigation [-Id ] <Int32[]> [<CommonParameters>]
31
31
```
32
32
33
- ### SaveSet
33
+ ### SaveMode
34
34
```
35
35
Get-ProcessMitigation [-RegistryConfigFilePath <String>] [<CommonParameters>]
36
36
```
37
37
38
- ### SystemSet
38
+ ### SystemMode
39
39
```
40
40
Get-ProcessMitigation [-System] [<CommonParameters>]
41
41
```
@@ -101,8 +101,8 @@ Returns every processes' current mitigation settings in the registry
101
101
102
102
``` yaml
103
103
Type : SwitchParameter
104
- Parameter Sets : FullPolicySet
105
- Aliases :
104
+ Parameter Sets : FullPolicy
105
+ Aliases : f
106
106
107
107
Required : False
108
108
Position : Named
@@ -116,8 +116,8 @@ Process Id to retrieve current running process mitigation settings from
116
116
117
117
` ` ` yaml
118
118
Type : Int32[]
119
- Parameter Sets : IdSet
120
- Aliases :
119
+ Parameter Sets : IdMode
120
+ Aliases :
121
121
122
122
Required : True
123
123
Position : 0
@@ -131,8 +131,8 @@ Accept wildcard characters: False
131
131
132
132
` ` ` yaml
133
133
Type : String
134
- Parameter Sets : NameSet
135
- Aliases :
134
+ Parameter Sets : NameMode
135
+ Aliases : n
136
136
137
137
Required : True
138
138
Position : 0
@@ -146,8 +146,8 @@ File to save the current registry process mitigation configuration to
146
146
147
147
` ` ` yaml
148
148
Type : String
149
- Parameter Sets : SaveSet
150
- Aliases :
149
+ Parameter Sets : SaveMode
150
+ Aliases : o
151
151
152
152
Required : False
153
153
Position : Named
@@ -156,13 +156,13 @@ Accept pipeline input: False
156
156
Accept wildcard characters : False
157
157
` ` `
158
158
159
- ### -RunningProcess
159
+ ### -RunningProcesses
160
160
Pull the current process mitigation settings from a running instance instead of the registry.
161
161
162
162
` ` ` yaml
163
163
Type : SwitchParameter
164
- Parameter Sets : NameSet
165
- Aliases :
164
+ Parameter Sets : NameMode
165
+ Aliases : r
166
166
167
167
Required : False
168
168
Position : Named
@@ -176,8 +176,8 @@ Pulls the current system defaults for process mitigations.
176
176
177
177
` ` ` yaml
178
178
Type : SwitchParameter
179
- Parameter Sets : SystemSet
180
- Aliases :
179
+ Parameter Sets : SystemMode
180
+ Aliases : s
181
181
182
182
Required : False
183
183
Position : Named
@@ -191,12 +191,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
191
191
192
192
## INPUTS
193
193
194
- ### System.String
195
- System.Int32\[\]
194
+ ### System.Int32[]
196
195
197
196
## OUTPUTS
198
197
199
- ### Microsoft.Samples.PowerShell.Commands.AppMitigations
198
+ ### System.Object
200
199
201
200
## NOTES
202
201
0 commit comments