Skip to content

Commit 16f087b

Browse files
committed
feat: multiple new functions
1 parent a8a25a5 commit 16f087b

9 files changed

Lines changed: 436 additions & 3 deletions

ADCSGoat/Public/Deploy-AdcsGoat.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function Deploy-AdcsGoat {
2222

2323
# We need to grant low privileged users control over blank template objects to turn them into ESC issues.
2424
$TemplateNames | ForEach-Object {
25-
Set-AdcsGoatTemplateAce -TemplateName $_ -AceType GenericAll
25+
Set-AdcsGoatTemplateAce -TemplateName $_ -AceType Enroll
2626
}
2727
}
2828

docs/en-US/Deploy-AdcsGoat.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
external help file: ADCSGoat-help.xml
3+
Module Name: ADCSGoat
4+
online version:
5+
schema: 2.0.0
6+
---
7+
8+
# Deploy-AdcsGoat
9+
10+
## SYNOPSIS
11+
{{ Fill in the Synopsis }}
12+
13+
## SYNTAX
14+
15+
```
16+
Deploy-AdcsGoat
17+
```
18+
19+
## DESCRIPTION
20+
{{ Fill in the Description }}
21+
22+
## EXAMPLES
23+
24+
### Example 1
25+
```powershell
26+
PS C:\> {{ Add example code here }}
27+
```
28+
29+
{{ Add example description here }}
30+
31+
## PARAMETERS
32+
33+
## INPUTS
34+
35+
### None
36+
37+
## OUTPUTS
38+
39+
### System.Object
40+
## NOTES
41+
42+
## RELATED LINKS
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
external help file: ADCSGoat-help.xml
3+
Module Name: ADCSGoat
4+
online version:
5+
schema: 2.0.0
6+
---
7+
8+
# Find-AdcsGoatEnrollmentService
9+
10+
## SYNOPSIS
11+
{{ Fill in the Synopsis }}
12+
13+
## SYNTAX
14+
15+
```
16+
Find-AdcsGoatEnrollmentService
17+
```
18+
19+
## DESCRIPTION
20+
{{ Fill in the Description }}
21+
22+
## EXAMPLES
23+
24+
### Example 1
25+
```powershell
26+
PS C:\> {{ Add example code here }}
27+
```
28+
29+
{{ Add example description here }}
30+
31+
## PARAMETERS
32+
33+
## INPUTS
34+
35+
### None
36+
37+
## OUTPUTS
38+
39+
### System.Object
40+
## NOTES
41+
42+
## RELATED LINKS
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
external help file: ADCSGoat-help.xml
3+
Module Name: ADCSGoat
4+
online version:
5+
schema: 2.0.0
6+
---
7+
8+
# Get-AdcsGoatEnrollmentServiceFullName
9+
10+
## SYNOPSIS
11+
{{ Fill in the Synopsis }}
12+
13+
## SYNTAX
14+
15+
```
16+
Get-AdcsGoatEnrollmentServiceFullName [-EnrollmentService] <DirectoryEntry> [<CommonParameters>]
17+
```
18+
19+
## DESCRIPTION
20+
{{ Fill in the Description }}
21+
22+
## EXAMPLES
23+
24+
### Example 1
25+
```powershell
26+
PS C:\> {{ Add example code here }}
27+
```
28+
29+
{{ Add example description here }}
30+
31+
## PARAMETERS
32+
33+
### -EnrollmentService
34+
{{ Fill EnrollmentService Description }}
35+
36+
```yaml
37+
Type: DirectoryEntry
38+
Parameter Sets: (All)
39+
Aliases:
40+
41+
Required: True
42+
Position: 0
43+
Default value: None
44+
Accept pipeline input: False
45+
Accept wildcard characters: False
46+
```
47+
48+
### CommonParameters
49+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
50+
51+
## INPUTS
52+
53+
### None
54+
55+
## OUTPUTS
56+
57+
### System.Object
58+
## NOTES
59+
60+
## RELATED LINKS

docs/en-US/Get-HelloWorld.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
external help file: ADCSGoat-help.xml
3-
Module Name: ADCSGoat
2+
external help file: Build-LocksmithLab-help.xml
3+
Module Name: Build-LocksmithLab
44
online version:
55
schema: 2.0.0
66
---
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
external help file: ADCSGoat-help.xml
3+
Module Name: ADCSGoat
4+
online version:
5+
schema: 2.0.0
6+
---
7+
8+
# New-AdcsGoatBlankTemplateObject
9+
10+
## SYNOPSIS
11+
{{ Fill in the Synopsis }}
12+
13+
## SYNTAX
14+
15+
```
16+
New-AdcsGoatBlankTemplateObject [-TemplateName] <String[]> [<CommonParameters>]
17+
```
18+
19+
## DESCRIPTION
20+
{{ Fill in the Description }}
21+
22+
## EXAMPLES
23+
24+
### Example 1
25+
```powershell
26+
PS C:\> {{ Add example code here }}
27+
```
28+
29+
{{ Add example description here }}
30+
31+
## PARAMETERS
32+
33+
### -TemplateName
34+
{{ Fill TemplateName Description }}
35+
36+
```yaml
37+
Type: String[]
38+
Parameter Sets: (All)
39+
Aliases:
40+
41+
Required: True
42+
Position: 0
43+
Default value: None
44+
Accept pipeline input: True (ByValue)
45+
Accept wildcard characters: False
46+
```
47+
48+
### CommonParameters
49+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
50+
51+
## INPUTS
52+
53+
### System.String[]
54+
55+
## OUTPUTS
56+
57+
### System.Object
58+
## NOTES
59+
60+
## RELATED LINKS
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
external help file: ADCSGoat-help.xml
3+
Module Name: ADCSGoat
4+
online version:
5+
schema: 2.0.0
6+
---
7+
8+
# Set-AdcsGoatEnrollmentServiceFullName
9+
10+
## SYNOPSIS
11+
{{ Fill in the Synopsis }}
12+
13+
## SYNTAX
14+
15+
```
16+
Set-AdcsGoatEnrollmentServiceFullName [-EnrollmentService] <DirectoryEntry>
17+
[-EnrollmentServiceFullName] <String> [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
{{ Fill in the Description }}
22+
23+
## EXAMPLES
24+
25+
### Example 1
26+
```powershell
27+
PS C:\> {{ Add example code here }}
28+
```
29+
30+
{{ Add example description here }}
31+
32+
## PARAMETERS
33+
34+
### -EnrollmentService
35+
{{ Fill EnrollmentService Description }}
36+
37+
```yaml
38+
Type: DirectoryEntry
39+
Parameter Sets: (All)
40+
Aliases:
41+
42+
Required: True
43+
Position: 0
44+
Default value: None
45+
Accept pipeline input: False
46+
Accept wildcard characters: False
47+
```
48+
49+
### -EnrollmentServiceFullName
50+
{{ Fill EnrollmentServiceFullName Description }}
51+
52+
```yaml
53+
Type: String
54+
Parameter Sets: (All)
55+
Aliases:
56+
57+
Required: True
58+
Position: 1
59+
Default value: None
60+
Accept pipeline input: False
61+
Accept wildcard characters: False
62+
```
63+
64+
### CommonParameters
65+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
66+
67+
## INPUTS
68+
69+
### None
70+
71+
## OUTPUTS
72+
73+
### System.Object
74+
## NOTES
75+
76+
## RELATED LINKS
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
external help file: ADCSGoat-help.xml
3+
Module Name: ADCSGoat
4+
online version:
5+
schema: 2.0.0
6+
---
7+
8+
# Set-AdcsGoatTemplateAce
9+
10+
## SYNOPSIS
11+
{{ Fill in the Synopsis }}
12+
13+
## SYNTAX
14+
15+
```
16+
Set-AdcsGoatTemplateAce [-TemplateName] <String[]> [-AceType] <String> [<CommonParameters>]
17+
```
18+
19+
## DESCRIPTION
20+
{{ Fill in the Description }}
21+
22+
## EXAMPLES
23+
24+
### Example 1
25+
```powershell
26+
PS C:\> {{ Add example code here }}
27+
```
28+
29+
{{ Add example description here }}
30+
31+
## PARAMETERS
32+
33+
### -AceType
34+
{{ Fill AceType Description }}
35+
36+
```yaml
37+
Type: String
38+
Parameter Sets: (All)
39+
Aliases:
40+
Accepted values: Enroll, FullControl, GenericAll, WriteProperty
41+
42+
Required: True
43+
Position: 1
44+
Default value: None
45+
Accept pipeline input: False
46+
Accept wildcard characters: False
47+
```
48+
49+
### -TemplateName
50+
{{ Fill TemplateName Description }}
51+
52+
```yaml
53+
Type: String[]
54+
Parameter Sets: (All)
55+
Aliases:
56+
57+
Required: True
58+
Position: 0
59+
Default value: None
60+
Accept pipeline input: True (ByValue)
61+
Accept wildcard characters: False
62+
```
63+
64+
### CommonParameters
65+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
66+
67+
## INPUTS
68+
69+
### System.String[]
70+
71+
## OUTPUTS
72+
73+
### System.Object
74+
## NOTES
75+
76+
## RELATED LINKS

0 commit comments

Comments
 (0)