Skip to content

Commit 660d937

Browse files
committed
Code
1 parent 38ced84 commit 660d937

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

SPPatchify.ps1

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
.NOTES
1111
File Namespace : SPPatchify.ps1
1212
Author : Jeff Jones - @spjeff
13-
Version : 0.128
14-
Last Modified : 09-03-2018
13+
Version : 0.129
14+
Last Modified : 09-03-2018
15+
1516
.LINK
1617
Source Code
1718
http://www.github.com/spjeff/sppatchify
@@ -95,7 +96,7 @@ if ($phaseTwo) {
9596
if ($phaseThree) {
9697
$phase = "-phaseThree"
9798
}
98-
$host.ui.RawUI.WindowTitle = "SPPatchify v0.128 $phase"
99+
$host.ui.RawUI.WindowTitle = "SPPatchify v0.129 $phase"
99100
$rootCmd = $MyInvocation.MyCommand.Definition
100101
$root = Split-Path -Parent -Path $MyInvocation.MyCommand.Definition
101102
$stages = @("CopyEXE", "StopSvc", "RunEXE", "StartSvc", "ConfigWiz")
@@ -324,7 +325,7 @@ function WaitEXE($patchName) {
324325
displayStatus $coll $false $false $msp $stats
325326
}
326327
while ($proc)
327-
New-EventLog -LogName "Application" -Source "SPPatchify" -ComputerName $addr
328+
New-EventLog -LogName "Application" -Source "SPPatchify" -ComputerName $addr -ErrorAction SilentlyContinue | Out-Null
328329
Write-EventLog -LogName "Application" -Source "SPPatchify" -EntryType Information -Category 1000 -EventId 1000 -Message "DONE" -ComputerName $addr
329330
}
330331
}
@@ -1746,7 +1747,7 @@ function Main() {
17461747
Start-Transcript $logFile
17471748

17481749
# Version
1749-
"SPPatchify version 0.128 last modified 09-03-2018"
1750+
"SPPatchify version 0.129 last modified 09-03-2018"
17501751

17511752
# Parameters
17521753
$msg = "=== PARAMS === $(Get-Date)"

0 commit comments

Comments
 (0)