Skip to content

Commit

Permalink
Update-DbaInstance: Fix typo in warning message (#9213)
Browse files Browse the repository at this point in the history
  • Loading branch information
pluim003 authored Jan 24, 2024
1 parent 11b251a commit 502a308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/Update-DbaInstance.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ function Update-DbaInstance {
foreach ($computer in $ComputerName) {
$null = Test-ElevationRequirement -ComputerName $computer -Continue
if (-not $computer.IsLocalHost -and -not $notifiedCredentials -and -not $Credential -and $pathIsNetwork) {
Write-Message -Level Warning -Message "Explicit -Credential might be required when running agains remote hosts and -Path is a network folder"
Write-Message -Level Warning -Message "Explicit -Credential might be required when running against remote hosts and -Path is a network folder"
$notifiedCredentials = $true
}
if ($resolvedComputer = Resolve-DbaNetworkName -ComputerName $computer.ComputerName -Credential $Credential) {
Expand Down Expand Up @@ -617,4 +617,4 @@ function Update-DbaInstance {
$installActions | Invoke-Parallel -ImportModules -ImportVariables -ScriptBlock $installScript -Throttle $Throttle | ForEach-Object -Process $outputHandler
}
}
}
}

0 comments on commit 502a308

Please sign in to comment.