mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-29 08:06:51 +01:00
Rename to install-ssh-client.ps1 and install-ssh-server.ps1
This commit is contained in:
parent
8de3b7f559
commit
673e39f4e2
@ -66,8 +66,6 @@ download-file.ps1, downloads a file from the given URL
|
|||||||
edit.ps1, edits the given file with the built-in text editor
|
edit.ps1, edits the given file with the built-in text editor
|
||||||
enable-crash-dumps.ps1, enables the writing of crash dumps
|
enable-crash-dumps.ps1, enables the writing of crash dumps
|
||||||
enable-god-mode.ps1, enables the god mode (adds a new icon to the desktop)
|
enable-god-mode.ps1, enables the god mode (adds a new icon to the desktop)
|
||||||
enable-ssh-client.ps1, enables the SSH client (needs admin rights)
|
|
||||||
enable-ssh-server.ps1, enables the SSH server (needs admin rights)
|
|
||||||
encrypt-file.ps1, encrypts the given file
|
encrypt-file.ps1, encrypts the given file
|
||||||
fetch-repo.ps1, fetches updates for the current/given Git repository (including submodules)
|
fetch-repo.ps1, fetches updates for the current/given Git repository (including submodules)
|
||||||
fetch-repos.ps1, fetches updates for all Git repositories under the current/given directory (including submodules)
|
fetch-repos.ps1, fetches updates for all Git repositories under the current/given directory (including submodules)
|
||||||
@ -76,7 +74,9 @@ hibernate.ps1, enables hibernate mode for the local computer (needs admin rights
|
|||||||
inspect-exe.ps1, prints basic information of the given executable file
|
inspect-exe.ps1, prints basic information of the given executable file
|
||||||
install-google-chrome.ps1, installs the Google Chrome browser
|
install-google-chrome.ps1, installs the Google Chrome browser
|
||||||
install-signal-cli.ps1, installs signal-cli from github.com/AsamK/signal-cli
|
install-signal-cli.ps1, installs signal-cli from github.com/AsamK/signal-cli
|
||||||
install-wsl.ps1, installs Windows Subsystem for Linux (WSL)
|
install-ssh-client.ps1, installs the SSH client (needs admin rights)
|
||||||
|
install-ssh-server.ps1, installs the SSH server (needs admin rights)
|
||||||
|
install-wsl.ps1, installs Windows Subsystem for Linux (WSL), needs admin rights
|
||||||
introduce-powershell.ps1, introduces PowerShell to new users
|
introduce-powershell.ps1, introduces PowerShell to new users
|
||||||
list-aliases.ps1, lists all PowerShell aliases
|
list-aliases.ps1, lists all PowerShell aliases
|
||||||
list-anagrams.ps1, lists all anagrams of the given word
|
list-anagrams.ps1, lists all anagrams of the given word
|
||||||
|
Can't render this file because it has a wrong number of fields in line 79.
|
@ -46,12 +46,12 @@ Mega Collection of PowerShell Scripts
|
|||||||
* [check-swap-space.ps1](Scripts/check-swap-space.ps1) - checks the swap space for free space left
|
* [check-swap-space.ps1](Scripts/check-swap-space.ps1) - checks the swap space for free space left
|
||||||
* [check-windows-system-files.ps1](Scripts/check-windows-system-files.ps1) - checks the validity of the Windows system files (needs admin rights)
|
* [check-windows-system-files.ps1](Scripts/check-windows-system-files.ps1) - checks the validity of the Windows system files (needs admin rights)
|
||||||
* [enable-crash-dumps.ps1](Scripts/enable-crash-dumps.ps1) - enables the writing of crash dumps
|
* [enable-crash-dumps.ps1](Scripts/enable-crash-dumps.ps1) - enables the writing of crash dumps
|
||||||
* [enable-ssh-client.ps1](Scripts/enable-ssh-client.ps1) - enables the SSH client (needs admin rights)
|
|
||||||
* [enable-ssh-server.ps1](Scripts/enable-ssh-server.ps1) - enables the SSH server (needs admin rights)
|
|
||||||
* [hibernate.ps1](Scripts/hibernate.ps1) - enables hibernate mode for the local computer (needs admin rights)
|
* [hibernate.ps1](Scripts/hibernate.ps1) - enables hibernate mode for the local computer (needs admin rights)
|
||||||
* [install-google-chrome.ps1](Scripts/install-google-chrome.ps1) - installs the Google Chrome browser
|
* [install-google-chrome.ps1](Scripts/install-google-chrome.ps1) - installs the Google Chrome browser
|
||||||
|
* [install-ssh-client.ps1](Scripts/install-ssh-client.ps1) - installs the SSH client (needs admin rights)
|
||||||
|
* [install-ssh-server.ps1](Scripts/install-ssh-server.ps1) - installs the SSH server (needs admin rights)
|
||||||
* [install-signal-cli.ps1](Scripts/install-signal-cli.ps1) - installs signal-cli from github.com/AsamK/signal-cli
|
* [install-signal-cli.ps1](Scripts/install-signal-cli.ps1) - installs signal-cli from github.com/AsamK/signal-cli
|
||||||
* [install-wsl.ps1](Scripts/install-wsl.ps1) - installs Windows Subsystem for Linux (WSL)
|
* [install-wsl.ps1](Scripts/install-wsl.ps1) - installs Windows Subsystem for Linux (WSL), needs admin rights
|
||||||
* [list-cli-tools.ps1](Scripts/list-cli-tools.ps1) - lists available command-line interface (CLI) tools
|
* [list-cli-tools.ps1](Scripts/list-cli-tools.ps1) - lists available command-line interface (CLI) tools
|
||||||
* [list-drives.ps1](Scripts/list-drives.ps1) - lists all drives
|
* [list-drives.ps1](Scripts/list-drives.ps1) - lists all drives
|
||||||
* [list-network-shares.ps1](Scripts/list-network-shares.ps1) - lists the network shares of the local computer
|
* [list-network-shares.ps1](Scripts/list-network-shares.ps1) - lists the network shares of the local computer
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
enable-ssh-client.ps1
|
install-ssh-client.ps1
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
Enables the SSH client (needs admin rights)
|
Installs the SSH client (needs admin rights)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> .\enable-ssh-client.ps1
|
PS> .\install-ssh-client.ps1
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -19,7 +19,7 @@ try {
|
|||||||
Add-WindowsCapability -Online -Name OpenSSH.Client*
|
Add-WindowsCapability -Online -Name OpenSSH.Client*
|
||||||
|
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ enabled SSH client in $Elapsed sec"
|
"✔️ installed SSH client in $Elapsed sec"
|
||||||
exit 0
|
exit 0
|
||||||
} catch {
|
} catch {
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
@ -1,10 +1,10 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
enable-ssh-server.ps1
|
install-ssh-server.ps1
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
Enables the SSH server (needs admin rights)
|
Installs the SSH server (needs admin rights)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> .\enable-ssh-server.ps1
|
PS> .\install-ssh-server.ps1
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
@ -2,7 +2,7 @@
|
|||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
install-wsl.ps1
|
install-wsl.ps1
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
Installs Windows Subsystem for Linux (WSL) - needs administrator rights
|
Installs Windows Subsystem for Linux (WSL), needs admin rights
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> .\install-wsl.ps1
|
PS> .\install-wsl.ps1
|
||||||
.LINK
|
.LINK
|
||||||
|
Loading…
Reference in New Issue
Block a user