Skip to content

Commit 60c9da3

Browse files
committed
feat: set CA full name on virtual enrollment service object
This doesn't modify the actual AD object, just the object we are working with.
1 parent 0692cb4 commit 60c9da3

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

ADCSGoat/Public/Set-AGEnrollmentServiceFullName.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ function Set-AGEnrollmentServiceFullName {
77
[string]$EnrollmentServiceFullName
88
)
99

10-
"$($EnrollmentService.dNSHostName)\$($EnrollmentService.name)"
10+
$EnrollmentService | Add-Member -NotePropertyName 'FullName' -NotePropertyValue $EnrollmentServiceFullName -Force
1111
}

docs/en-US/Deploy-AdcsGoat.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ schema: 2.0.0
1313
## SYNTAX
1414

1515
```
16-
Deploy-AdcsGoat
16+
Deploy-AdcsGoat [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -30,6 +30,9 @@ PS C:\> {{ Add example code here }}
3030

3131
## PARAMETERS
3232

33+
### CommonParameters
34+
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).
35+
3336
## INPUTS
3437

3538
### None

docs/en-US/Find-AGEnrollmentService.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ schema: 2.0.0
1313
## SYNTAX
1414

1515
```
16-
Find-AGEnrollmentService
16+
Find-AGEnrollmentService [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -30,6 +30,9 @@ PS C:\> {{ Add example code here }}
3030

3131
## PARAMETERS
3232

33+
### CommonParameters
34+
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).
35+
3336
## INPUTS
3437

3538
### None

0 commit comments

Comments
 (0)