Skip to content

Commit aba7252

Browse files
committed
Fixed Authetication to Test-PSDCConfiguration
1 parent 4c4c499 commit aba7252

7 files changed

Lines changed: 7 additions & 7 deletions

functions/Get-PSDCClone.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
# Test the module database setup
7979
try {
80-
Test-PSDCConfiguration -EnableException
80+
Test-PSDCConfiguration -SqlCredential $PSDCSqlCredential -EnableException
8181
}
8282
catch {
8383
Stop-PSFFunction -Message "Something is wrong in the module configuration" -ErrorRecord $_ -Continue

functions/Get-PSDCImage.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
begin {
7373
# Test the module database setup
7474
try {
75-
Test-PSDCConfiguration -EnableException
75+
Test-PSDCConfiguration -SqlCredential $PSDCSqlCredential -EnableException
7676
}
7777
catch {
7878
Stop-PSFFunction -Message "Something is wrong in the module configuration" -ErrorRecord $_ -Continue

functions/Invoke-PSDCRepairClone.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
begin {
6969
# Test the module database setup
7070
try {
71-
Test-PSDCConfiguration -EnableException
71+
Test-PSDCConfiguration -SqlCredential $PSDCSqlCredential -EnableException
7272
}
7373
catch {
7474
Stop-PSFFunction -Message "Something is wrong in the module configuration" -ErrorRecord $_ -Continue

functions/New-PSDCClone.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113

114114
# Test the module database setup
115115
try {
116-
Test-PSDCConfiguration -EnableException
116+
Test-PSDCConfiguration -SqlCredential $PSDCSqlCredential -EnableException
117117
}
118118
catch {
119119
Stop-PSFFunction -Message "Something is wrong in the module configuration" -ErrorRecord $_ -Continue

functions/New-PSDCImage.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125

126126
# Test the module database setup
127127
try {
128-
Test-PSDCConfiguration -EnableException
128+
Test-PSDCConfiguration -SqlCredential $PSDCSqlCredential -EnableException
129129
}
130130
catch {
131131
Stop-PSFFunction -Message "Something is wrong in the module configuration" -ErrorRecord $_ -Continue

functions/Remove-PSDCClone.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
# Test the module database setup
107107
try {
108-
Test-PSDCConfiguration -EnableException
108+
Test-PSDCConfiguration -SqlCredential $PSDCSqlCredential -EnableException
109109
}
110110
catch {
111111
Stop-PSFFunction -Message "Something is wrong in the module configuration" -ErrorRecord $_ -Continue

functions/Remove-PSDCImage.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292

9393
# Test the module database setup
9494
try {
95-
Test-PSDCConfiguration -EnableException
95+
Test-PSDCConfiguration -SqlCredential $PSDCSqlCredential -EnableException
9696
}
9797
catch {
9898
Stop-PSFFunction -Message "Something is wrong in the module configuration" -ErrorRecord $_ -Continue

0 commit comments

Comments
 (0)