Skip to content

Commit

Permalink
updates to uninstall-sshd.ps1, cranked version to 7.6.1.0 (PowerShell…
Browse files Browse the repository at this point in the history
  • Loading branch information
manojampalam authored and bingbing8 committed Mar 31, 2018
1 parent f291d24 commit c1aaa5d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 7.6.0.0.{build}
version: 7.6.1.0.{build}
image: Visual Studio 2015

branches:
Expand Down
9 changes: 8 additions & 1 deletion contrib/win32/openssh/uninstall-sshd.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
if (Get-Service sshd -ErrorAction SilentlyContinue)
$scriptpath = $MyInvocation.MyCommand.Path
$scriptdir = Split-Path $scriptpath
$etwman = Join-Path $scriptdir "openssh-events.man"

if (Get-Service sshd -ErrorAction SilentlyContinue)
{
Stop-Service sshd
sc.exe delete sshd 1>$null
Expand All @@ -8,6 +12,9 @@ else {
Write-Host -ForegroundColor Yellow "sshd service is not installed"
}

# unregister etw provider
wevtutil um `"$etwman`"

if (Get-Service ssh-agent -ErrorAction SilentlyContinue)
{
Stop-Service ssh-agent
Expand Down
6 changes: 3 additions & 3 deletions contrib/win32/openssh/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 7,6,0,1
PRODUCTVERSION 7,6,0,1
FILEVERSION 7,6,1,0
PRODUCTVERSION 7,6,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -67,7 +67,7 @@ BEGIN
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileVersion", "7.6.0.1"
VALUE "FileVersion", "7.6.1.0"
VALUE "ProductName", "OpenSSH for Windows"
VALUE "ProductVersion", "OpenSSH_7.6p1 for Windows"
END
Expand Down

0 comments on commit c1aaa5d

Please sign in to comment.