updates to uninstall-sshd.ps1, cranked version to 7.6.1.0 (#295)
This commit is contained in:
parent
f291d2438f
commit
c1aaa5d5a3
|
@ -1,4 +1,4 @@
|
|||
version: 7.6.0.0.{build}
|
||||
version: 7.6.1.0.{build}
|
||||
image: Visual Studio 2015
|
||||
|
||||
branches:
|
||||
|
|
|
@ -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
|
||||
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue