Skip to content

Commit

Permalink
Remove spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanBijkerk committed Apr 8, 2021
1 parent 0433918 commit 7dbb1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/Install-VMWareTools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $timeout = 30 # Timeout in minutes for it to fail this job
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($url,$path)
$args = '/s /v /qn reboot=r'
Write-Verbose "Tools download successful. Install starting."
Write-Verbose "Tools download successful. Install starting."
$timer = [Diagnostics.Stopwatch]::StartNew()
Start-Process -FilePath $path -ArgumentList $args -PassThru

Expand All @@ -41,7 +41,7 @@ $toolswait = $true
While ($toolswait){
if(!(Test-VMInstall)){
if($timer.Elaspsed.TotalMinutes -gt $timeout) {
Write-Verbose "Tools not detected within timeout. Failing job."
Write-Verbose "Tools not detected within timeout. Failing job."
Exit 1
}
Write-Verbose "Tools not detected yet."
Expand Down

0 comments on commit 7dbb1e8

Please sign in to comment.