Skip to content

Commit 2312051

Browse files
authored
Merge branch 'master' into smbshare
2 parents ac93195 + 07edbb0 commit 2312051

File tree

129 files changed

+745
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+745
-90
lines changed

docset/winserver2022-ps/applocker/New-AppLockerPolicy.md

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,22 @@ Creates a new AppLocker policy from a list of file information and other rule cr
1515

1616
## SYNTAX
1717

18+
### FileInformation
1819
```
1920
New-AppLockerPolicy
2021
[-FileInformation] <System.Collections.Generic.List`1[Microsoft.Security.ApplicationId.PolicyManagement.PolicyModel.FileInformation]>
22+
[-AllowWindows]
2123
[-RuleType <System.Collections.Generic.List`1[Microsoft.Security.ApplicationId.PolicyManagement.RuleType]>]
2224
[-RuleNamePrefix <String>] [-User <String>] [-Optimize] [-IgnoreMissingFileInformation] [-Xml]
23-
[-ServiceEnforcement <String>] [<CommonParameters>]
25+
[-ServiceEnforcement <ServiceEnforcementMode>] [<CommonParameters>]
26+
```
27+
28+
### AllowWindows
29+
```
30+
New-AppLockerPolicy [-AllowWindows]
31+
[-RuleType <System.Collections.Generic.List`1[Microsoft.Security.ApplicationId.PolicyManagement.RuleType]>]
32+
[-RuleNamePrefix <String>] [-User <String>] [-Optimize] [-IgnoreMissingFileInformation] [-Xml]
33+
[-ServiceEnforcement <ServiceEnforcementMode>] [<CommonParameters>]
2434
```
2535

2636
## DESCRIPTION
@@ -49,15 +59,18 @@ The rules are prefixed with `System32:` and the rules apply to the Everyone grou
4959

5060
### Example 2: Create an AppLocker policy
5161
```
52-
C:\PS>Get-ChildItem C:\Windows\System32\*.exe | Get-AppLockerFileInformation | New-AppLockerPolicy -RuleType Path -User Everyone -Optimize -XML
62+
C:\PS>Get-ChildItem C:\Windows\System32\*.exe | Get-AppLockerFileInformation | New-AppLockerPolicy -AllowWindows -RuleType Path -User Everyone -Optimize -XML
5363
<AppLockerPolicy Version="1"><RuleCollection Type="Exe" EnforcementMode="NotConfigured"><FilePathRule Id="31B2F340-016D
5464
-11D2-945F-00C04FB984F9" Name="%SYSTEM32%\*" Description="" 10 UserOrGroupSid="S-1-5-21-3165297888-301567370-576410423-
5565
13" Action="cAllow"><Conditions><FilePathCondition Path="%SYSTEM32%\*" /></Conditions></FilePathRule></RuleCollection>
5666
</AppLockerPolicy>
5767
```
5868

59-
This example creates an XML-formatted AppLocker policy for all of the executable files in C:\Windows\System32.
60-
The policy contains only path rules, the rules are applied to the Everyone group, and the *Optimize* parameter indicates that similar rules are grouped together where possible.
69+
This example creates an XML-formatted AppLocker policy for all of the executable files in `C:\Windows\System32`.
70+
The policy contains only path rules.
71+
The rules are applied to the Everyone group.
72+
The *Optimize* parameter indicates that similar rules are grouped together where possible.
73+
The AppLocker policy trusts all local Windows components.
6174

6275
### Example 3: Create an AppLocker policy from audited events
6376
```
@@ -74,14 +87,29 @@ The existing AppLocker policy in the specified GPO will be overwritten.
7487

7588
## PARAMETERS
7689

90+
### -AllowWindows
91+
Indicates that the AppLocker policy allows all local Windows components.
92+
93+
```yaml
94+
Type: SwitchParameter
95+
Parameter Sets: (All)
96+
Aliases:
97+
98+
Required: False
99+
Position: Named
100+
Default value: None
101+
Accept pipeline input: False
102+
Accept wildcard characters: False
103+
```
104+
77105
### -FileInformation
78106
Specifies a file that can contain publisher, path, and hash information.
79107
Some information may be missing, such as publisher information for an unsigned file.
80108
81109
```yaml
82110
Type: System.Collections.Generic.List`1[Microsoft.Security.ApplicationId.PolicyManagement.PolicyModel.FileInformation]
83-
Parameter Sets: (All)
84-
Aliases:
111+
Parameter Sets: FileInformation
112+
Aliases:
85113

86114
Required: True
87115
Position: 0
@@ -165,7 +193,7 @@ The acceptable values for this parameter are:
165193
- ServicesOnly
166194
167195
```yaml
168-
Type: String
196+
Type: ServiceEnforcementMode
169197
Parameter Sets: (All)
170198
Aliases:
171199

@@ -222,7 +250,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
222250
## OUTPUTS
223251
224252
### Microsoft.Security.ApplicationId.PolicyManagement.PolicyModel.AppLockerPolicy
225-
**AppLockerPolicy**
226253
227254
### System.String
228255

docset/winserver2022-ps/fileserverresourcemanager/Get-FsrmAdrSetting.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
115115

116116
## INPUTS
117117

118+
### Microsoft.PowerShell.Cmdletization.GeneratedTypes.FsrmAdrEventEnum[]
119+
118120
## OUTPUTS
119121

120-
### Microsoft.Management.Infrastructure.CimInstance#MSFT_FSRMADRSettings
122+
### Microsoft.Management.Infrastructure.CimInstance
123+
124+
### Microsoft.Management.Infrastructure.CimInstance#Root/Microsoft/Windows/FSRM/MSFT_FSRMADRSettings
121125

122126
## NOTES
123127

docset/winserver2022-ps/fileserverresourcemanager/Get-FsrmAutoQuota.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,14 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
127127

128128
## INPUTS
129129

130+
### System.String
131+
130132
## OUTPUTS
131133

134+
### Microsoft.Management.Infrastructure.CimInstance
135+
136+
### Microsoft.Management.Infrastructure.CimInstance#Root/Microsoft/Windows/FSRM/MSFT_FSRMAutoQuota
137+
132138
## NOTES
133139

134140
## RELATED LINKS

docset/winserver2022-ps/fileserverresourcemanager/Get-FsrmClassification.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
9595

9696
## INPUTS
9797

98+
### None
99+
98100
## OUTPUTS
99101

100-
### Microsoft.Management.Infrastructure.CimInstance#MSFT_FSRMClassification
102+
### Microsoft.Management.Infrastructure.CimInstance
103+
104+
### Microsoft.Management.Infrastructure.CimInstance#Root/Microsoft/Windows/FSRM/MSFT_FSRMClassification
101105

102106
## NOTES
103107

docset/winserver2022-ps/fileserverresourcemanager/Get-FsrmClassificationPropertyDefinition.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
121121

122122
## INPUTS
123123

124+
### System.String[]
125+
124126
## OUTPUTS
125127

126-
### Microsoft.Management.Infrastructure.CimInstance#MSFT_FSRMClassificationPropertyDefinition
128+
### Microsoft.Management.Infrastructure.CimInstance
129+
130+
### Microsoft.Management.Infrastructure.CimInstance#Root/Microsoft/Windows/FSRM/MSFT_FSRMClassificationpropertyDefinition
127131

128132
## NOTES
129133

docset/winserver2022-ps/fileserverresourcemanager/Get-FsrmClassificationRule.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,14 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
118118

119119
## INPUTS
120120

121+
### System.String[]
122+
121123
## OUTPUTS
122124

125+
### Microsoft.Management.Infrastructure.CimInstance
126+
127+
### Microsoft.Management.Infrastructure.CimInstance#Root/Microsoft/Windows/FSRM/MSFT_FSRMClassificationRule
128+
123129
## NOTES
124130

125131
## RELATED LINKS

docset/winserver2022-ps/fileserverresourcemanager/Get-FsrmEffectiveNamespace.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,12 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
144144

145145
## INPUTS
146146

147+
### System.String[]
148+
147149
## OUTPUTS
148150

151+
### System.String[]
152+
149153
## NOTES
150154

151155
## RELATED LINKS

docset/winserver2022-ps/fileserverresourcemanager/Get-FsrmFileGroup.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
118118

119119
## INPUTS
120120

121+
### System.String[]
122+
121123
## OUTPUTS
122124

123-
### Microsoft.Management.Infrastructure.CimInstance#MSFT_FSRMFileGroup
125+
### Microsoft.Management.Infrastructure.CimInstance
126+
127+
### Microsoft.Management.Infrastructure.CimInstance#Root/Microsoft/Windows/FSRM/MSFT_FSRMFileGroup
124128

125129
## NOTES
126130

docset/winserver2022-ps/fileserverresourcemanager/Get-FsrmFileManagementJob.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
117117

118118
## INPUTS
119119

120+
### System.String[]
121+
120122
## OUTPUTS
121123

122-
### Microsoft.Management.Infrastructure.CimInstance#MSFT_FSRMFileManagementJob
124+
### Microsoft.Management.Infrastructure.CimInstance
125+
126+
### Microsoft.Management.Infrastructure.CimInstance#Root/Microsoft/Windows/FSRM/MSFT_FSRMFileManagementJob
123127

124128
## NOTES
125129

docset/winserver2022-ps/fileserverresourcemanager/Get-FsrmFileScreen.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
117117

118118
## INPUTS
119119

120+
### System.String
121+
120122
## OUTPUTS
121123

122-
### Microsoft.Management.Infrastructure.CimInstance#MSFT_FSRMFileScreen
124+
### Microsoft.Management.Infrastructure.CimInstance
125+
126+
### Microsoft.Management.Infrastructure.CimInstance#Root/Microsoft/Windows/FSRM/MSFT_FSRMFileScreen
123127

124128
## NOTES
125129

0 commit comments

Comments
 (0)