Skip to content

Commit 5a0e403

Browse files
committed
Fix Write-Host
1 parent c3d5607 commit 5a0e403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Active Directory/Domain Services/DNSZonesRemote.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ foreach ($srv in $servers) {
5353
#Cleanup and then show the current PSSession state.
5454
if ($session) { Exit-PSSession }
5555
if ($session) { Remove-PSSession $session }
56-
Write-Host -ForegroundColor DarkYellow $session.ComputerName $session.State `n`n -NoNewline
56+
Write-Host "$session.ComputerName $session.State `n`n" -ForegroundColor DarkYellow -NoNewline
5757
}

0 commit comments

Comments
 (0)