Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 651834a

Browse files
committed
Made verbose messages really verbose and removed a wrong comment.
1 parent 49e8040 commit 651834a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.build.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,14 @@ task ValidateRemoteScriptExecution {
109109
# Keeping the guest credential value local since it may only apply to the individual virtual machine in some cases
110110
# Try per vm guest credentials first
111111
if ( Get-Variable -Name "$Config.virtualMachines[$i].guestCred" -ErrorAction SilentlyContinue ) {
112-
Write-Verbose -Message "Importing Credential file: $($IdentityPath + $($Config.virtualMachines[$i].guestCred))"
112+
Write-Verbose -Message "Importing Credential file: $($IdentityPath + $($Config.virtualMachines[$i].guestCred))" -Verbose
113113
$GuestCredential = Import-Clixml -Path ($IdentityPath + $($Config.virtualMachines[$i].guestCred))
114114
}
115115
# Use global guest credentials
116116
else {
117-
Write-Verbose -Message "Importing Credential file: $($IdentityPath + "guestCred.XML")"
117+
Write-Verbose -Message "Importing Credential file: $($IdentityPath + "guestCred.XML")" -Verbose
118118
$GuestCredential = Import-Clixml -Path ($IdentityPath + "guestCred.XML")
119119
}
120-
# Find the first network interface's MAC
121120
while ($true) {
122121
Write-Verbose -Message "Testing script execution on '$($Config.virtualMachines[$i].mountName)', attempt '$LoopCount'..." -Verbose
123122
$splat = @{

0 commit comments

Comments
 (0)