Skip to content

Commit 3f40376

Browse files
committed
Added array for results
1 parent 42b1bd5 commit 3f40376

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

functions/Get-PSDCImage.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"
8484

8585
try {
86+
$result = @()
8687
$results = Invoke-DbaSqlQuery -SqlInstance $pdcSqlInstance -Database $pdcDatabase -Query $query -As PSObject
8788
}
8889
catch {

0 commit comments

Comments
 (0)