mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-08 20:54:38 +02:00
Rename to install-ssh-client.ps1 and install-ssh-server.ps1
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
enable-ssh-client.ps1
|
||||
install-ssh-client.ps1
|
||||
.DESCRIPTION
|
||||
Enables the SSH client (needs admin rights)
|
||||
Installs the SSH client (needs admin rights)
|
||||
.EXAMPLE
|
||||
PS> .\enable-ssh-client.ps1
|
||||
PS> .\install-ssh-client.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -19,7 +19,7 @@ try {
|
||||
Add-WindowsCapability -Online -Name OpenSSH.Client*
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ enabled SSH client in $Elapsed sec"
|
||||
"✔️ installed SSH client in $Elapsed sec"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
@ -1,10 +1,10 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
enable-ssh-server.ps1
|
||||
install-ssh-server.ps1
|
||||
.DESCRIPTION
|
||||
Enables the SSH server (needs admin rights)
|
||||
Installs the SSH server (needs admin rights)
|
||||
.EXAMPLE
|
||||
PS> .\enable-ssh-server.ps1
|
||||
PS> .\install-ssh-server.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
install-wsl.ps1
|
||||
.DESCRIPTION
|
||||
Installs Windows Subsystem for Linux (WSL) - needs administrator rights
|
||||
Installs Windows Subsystem for Linux (WSL), needs admin rights
|
||||
.EXAMPLE
|
||||
PS> .\install-wsl.ps1
|
||||
.LINK
|
||||
|
Reference in New Issue
Block a user