Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit fcc43c0

Browse files
author
Jason Helmick
committed
Fixed convergence bug
1 parent 94855b6 commit fcc43c0

File tree

5 files changed

+28
-28
lines changed

5 files changed

+28
-28
lines changed

Configurations/POC-MultiRole/VMConfiguration.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
114114
'DNS',
115115
'AD-Domain-Services',
116116
'RSAT-AD-Tools',
117-
'RSAT-AD-PowerShell'
117+
'RSAT-AD-PowerShell',
118+
'GPMC'
118119
#For Gui, might like
119-
#'RSAT-DNS-Server',
120-
#'GPMC',
120+
#'RSAT-DNS-Server',
121121
#'RSAT-AD-AdminCenter',
122122
#'RSAT-ADDS-Tools'
123123

@@ -564,7 +564,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
564564
script CreateDSCTemplate
565565
{
566566
DependsOn = '[xAdcsCertificationAuthority]ADCSConfig'
567-
Credential = $Credential
567+
Credential = $DomainCredential
568568
TestScript = {
569569
try {
570570
$DSCTemplate=get-ADObject -Identity "CN=DSCTemplate,CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,$($Using:Node.DomainDN)" -Properties * -ErrorAction Stop
@@ -614,7 +614,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
614614
script PublishWebServerTemplate2
615615
{
616616
DependsOn = '[Script]CreateWebServer2Template'
617-
Credential = $Credential
617+
Credential = $DomainCredential
618618
TestScript = {
619619
$Template= Get-CATemplate | Where-Object {$_.Name -match "WebServer2"}
620620
if ($Template -eq $Null) {return $False}
@@ -632,7 +632,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
632632
script PublishDSCTemplate
633633
{
634634
DependsOn = '[Script]CreateDSCTemplate'
635-
Credential = $Credential
635+
Credential = $DomainCredential
636636
TestScript = {
637637
$Template= Get-CATemplate | Where-Object {$_.Name -match "DSCTemplate"}
638638
if ($Template -eq $Null) {return $False}

Configurations/TEST-SingleDC/VMConfiguration.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
115115
'AD-Domain-Services',
116116
'RSAT-AD-Tools',
117117
'RSAT-AD-PowerShell',
118+
'GPMC',
118119
#For Gui, might like
119-
'RSAT-DNS-Server',
120-
'GPMC',
120+
'RSAT-DNS-Server',
121121
'RSAT-AD-AdminCenter',
122122
'RSAT-ADDS-Tools'
123123

@@ -564,7 +564,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
564564
script CreateDSCTemplate
565565
{
566566
DependsOn = '[xAdcsCertificationAuthority]ADCSConfig'
567-
Credential = $Credential
567+
Credential = $DomainCredential
568568
TestScript = {
569569
try {
570570
$DSCTemplate=get-ADObject -Identity "CN=DSCTemplate,CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,$($Using:Node.DomainDN)" -Properties * -ErrorAction Stop
@@ -614,7 +614,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
614614
script PublishWebServerTemplate2
615615
{
616616
DependsOn = '[Script]CreateWebServer2Template'
617-
Credential = $Credential
617+
Credential = $DomainCredential
618618
TestScript = {
619619
$Template= Get-CATemplate | Where-Object {$_.Name -match "WebServer2"}
620620
if ($Template -eq $Null) {return $False}
@@ -632,7 +632,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
632632
script PublishDSCTemplate
633633
{
634634
DependsOn = '[Script]CreateDSCTemplate'
635-
Credential = $Credential
635+
Credential = $DomainCredential
636636
TestScript = {
637637
$Template= Get-CATemplate | Where-Object {$_.Name -match "DSCTemplate"}
638638
if ($Template -eq $Null) {return $False}

Configurations/TEST-SingleServer/VMConfiguration.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
115115
'AD-Domain-Services',
116116
'RSAT-AD-Tools',
117117
'RSAT-AD-PowerShell',
118+
'GPMC',
118119
#For Gui, might like
119-
'RSAT-DNS-Server',
120-
'GPMC',
120+
'RSAT-DNS-Server',
121121
'RSAT-AD-AdminCenter',
122122
'RSAT-ADDS-Tools'
123123

@@ -564,7 +564,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
564564
script CreateDSCTemplate
565565
{
566566
DependsOn = '[xAdcsCertificationAuthority]ADCSConfig'
567-
Credential = $Credential
567+
Credential = $DomainCredential
568568
TestScript = {
569569
try {
570570
$DSCTemplate=get-ADObject -Identity "CN=DSCTemplate,CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,$($Using:Node.DomainDN)" -Properties * -ErrorAction Stop
@@ -614,7 +614,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
614614
script PublishWebServerTemplate2
615615
{
616616
DependsOn = '[Script]CreateWebServer2Template'
617-
Credential = $Credential
617+
Credential = $DomainCredential
618618
TestScript = {
619619
$Template= Get-CATemplate | Where-Object {$_.Name -match "WebServer2"}
620620
if ($Template -eq $Null) {return $False}
@@ -632,7 +632,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
632632
script PublishDSCTemplate
633633
{
634634
DependsOn = '[Script]CreateDSCTemplate'
635-
Credential = $Credential
635+
Credential = $DomainCredential
636636
TestScript = {
637637
$Template= Get-CATemplate | Where-Object {$_.Name -match "DSCTemplate"}
638638
if ($Template -eq $Null) {return $False}

Configurations/devops-powershell-fundamentals/VMConfiguration.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
114114
'DNS',
115115
'AD-Domain-Services',
116116
'RSAT-AD-Tools',
117-
'RSAT-AD-PowerShell'
117+
'RSAT-AD-PowerShell',
118+
'GPMC'
118119
#For Gui, might like
119-
#'RSAT-DNS-Server',
120-
#'GPMC',
120+
#'RSAT-DNS-Server',
121121
#'RSAT-AD-AdminCenter',
122122
#'RSAT-ADDS-Tools'
123123

@@ -564,7 +564,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
564564
script CreateDSCTemplate
565565
{
566566
DependsOn = '[xAdcsCertificationAuthority]ADCSConfig'
567-
Credential = $Credential
567+
Credential = $DomainCredential
568568
TestScript = {
569569
try {
570570
$DSCTemplate=get-ADObject -Identity "CN=DSCTemplate,CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,$($Using:Node.DomainDN)" -Properties * -ErrorAction Stop
@@ -614,7 +614,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
614614
script PublishWebServerTemplate2
615615
{
616616
DependsOn = '[Script]CreateWebServer2Template'
617-
Credential = $Credential
617+
Credential = $DomainCredential
618618
TestScript = {
619619
$Template= Get-CATemplate | Where-Object {$_.Name -match "WebServer2"}
620620
if ($Template -eq $Null) {return $False}
@@ -632,7 +632,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
632632
script PublishDSCTemplate
633633
{
634634
DependsOn = '[Script]CreateDSCTemplate'
635-
Credential = $Credential
635+
Credential = $DomainCredential
636636
TestScript = {
637637
$Template= Get-CATemplate | Where-Object {$_.Name -match "DSCTemplate"}
638638
if ($Template -eq $Null) {return $False}

Configurations/microsoft-powershell-implementing-jea/VMConfiguration.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
114114
'DNS',
115115
'AD-Domain-Services',
116116
'RSAT-AD-Tools',
117-
'RSAT-AD-PowerShell'
117+
'RSAT-AD-PowerShell',
118+
'GPMC'
118119
#For Gui, might like
119-
#'RSAT-DNS-Server',
120-
#'GPMC',
120+
#'RSAT-DNS-Server',
121121
#'RSAT-AD-AdminCenter',
122122
#'RSAT-ADDS-Tools'
123123

@@ -564,7 +564,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
564564
script CreateDSCTemplate
565565
{
566566
DependsOn = '[xAdcsCertificationAuthority]ADCSConfig'
567-
Credential = $Credential
567+
Credential = $DomainCredential
568568
TestScript = {
569569
try {
570570
$DSCTemplate=get-ADObject -Identity "CN=DSCTemplate,CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,$($Using:Node.DomainDN)" -Properties * -ErrorAction Stop
@@ -614,7 +614,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
614614
script PublishWebServerTemplate2
615615
{
616616
DependsOn = '[Script]CreateWebServer2Template'
617-
Credential = $Credential
617+
Credential = $DomainCredential
618618
TestScript = {
619619
$Template= Get-CATemplate | Where-Object {$_.Name -match "WebServer2"}
620620
if ($Template -eq $Null) {return $False}
@@ -632,7 +632,7 @@ $credential = New-Object -typename Pscredential -ArgumentList Administrator, $se
632632
script PublishDSCTemplate
633633
{
634634
DependsOn = '[Script]CreateDSCTemplate'
635-
Credential = $Credential
635+
Credential = $DomainCredential
636636
TestScript = {
637637
$Template= Get-CATemplate | Where-Object {$_.Name -match "DSCTemplate"}
638638
if ($Template -eq $Null) {return $False}

0 commit comments

Comments
 (0)