mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-27 16:31:30 -06:00
Merge a0e31b0954
into 0dfa9617fc
This commit is contained in:
commit
bcfe698e6f
@ -59,6 +59,6 @@ function Invoke-WPFButton {
|
||||
"MicrowinScratchDirBT" {Invoke-ScratchDialog}
|
||||
"WPFWinUtilInstallPSProfile" {Invoke-WinUtilInstallPSProfile}
|
||||
"WPFWinUtilUninstallPSProfile" {Invoke-WinUtilUninstallPSProfile}
|
||||
"WPFWinUtilSSHServer" {Invoke-WinUtilSSHServer}
|
||||
"WPFWinUtilSSHServer" {Invoke-WPFSSHServer}
|
||||
}
|
||||
}
|
||||
|
17
functions/public/Invoke-WPFSSHServer.ps1
Normal file
17
functions/public/Invoke-WPFSSHServer.ps1
Normal file
@ -0,0 +1,17 @@
|
||||
function Invoke-WPFSSHServer {
|
||||
<#
|
||||
|
||||
.SYNOPSIS
|
||||
Invokes the OpenSSH Server install in a runspace
|
||||
|
||||
#>
|
||||
|
||||
Invoke-WPFRunspace -DebugPreference $DebugPreference -ScriptBlock {
|
||||
|
||||
Invoke-WinUtilSSHServer
|
||||
|
||||
Write-Host "======================================="
|
||||
Write-Host "-- OpenSSH Server installed! ---"
|
||||
Write-Host "======================================="
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user