We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2b75bb + e96bbe9 commit b0ca76cCopy full SHA for b0ca76c
1 file changed
ADCSGoat/Public/Set-AGTemplateAce.ps1
@@ -66,7 +66,7 @@ function Set-AGTemplateAce {
66
process {
67
Write-Output $TemplateName -PipelineVariable name | ForEach-Object {
68
$success = $false
69
- $TemplateObject = New-Object System.DirectoryServices.DirectoryEntry("LDAP://CN=$name,$TemplateContainer")
+ $TemplateObject = New-Object System.DirectoryServices.DirectoryEntry("LDAP://$Server/CN=$name,$TemplateContainer")
70
71
while (-not $success) {
72
# Get the current ACL
0 commit comments