update according cmdlet name changes

Yanbing 2017-06-27 12:29:38 -07:00
parent 21a83f9aab
commit fb178574e1

@ -1,21 +1,19 @@
## Build OpenSSH: (skip these steps if youve already done)
```powershell
Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHBuildHelper.psm1 -Force
Build-OpenSSH -Configuration Debug -NativeHostArch x64
```
## Install OpenSSH: (skip these steps if youve already done)
```powershell
Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHBuildHelper.psm1 -Force
Install-OpenSSH -OpenSSHDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64
Start-OpenSSHBuild -Configuration Debug -NativeHostArch x64
```
## Run OpenSSH E2E Tests:
```powershell
Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHTestHelper.psm1 -Force
Setup-OpenSSHTestEnvironment -Quiet -OpenSSHBinPath Setup-OpenSSHTestEnvironment -Quiet -OpenSSHBinPath
Run-OpenSSHE2ETest
Set-OpenSSHTestEnvironment -Confirm:$false -OpenSSHBinPath c:\openSSH
Invoke-OpenSSHE2ETest
```
Note: If you want to run a particular test, just launch it by the script name:
```powershell
#need to explicitly import pester module on win7 only
import-module pester
.\SCP.Tests.ps1
```