diff --git a/Website/docs/application/powershell.md b/Website/docs/application/powershell.md index 819cd4a174..074fd7573b 100644 --- a/Website/docs/application/powershell.md +++ b/Website/docs/application/powershell.md @@ -4,7 +4,9 @@ sidebar_position: 9 # PowerShell -With **PowerShell** you can start PowerShell consoles on the local computer or connect to remote computers via [PowerShell Remoting](https://learn.microsoft.com/en-us/powershell/scripting/learn/ps101/08-powershell-remoting). The integration of PowerShell with NETworkManger supports tabs and profiles for hosts. The connection can be established via a profile (double-click, Enter key or right-click `Connect`) or directly via the [connection](#connect) dialog. +With **PowerShell** you can launch PowerShell consoles locally or connect to remote computers using [PowerShell Remoting](https://learn.microsoft.com/en-us/powershell/scripting/learn/ps101/08-powershell-remoting). You can also execute command-line applications such as `wsl`, `k9s`, or any other tools typically accessible from a PowerShell session. In addition, you can run PowerShell scripts directly within the console. + +The integration of PuTTY with NETworkManger supports tabs and profiles for hosts (and tools). You can launch the console / establish a connection via a profile (double-click, Enter key or right-click `Connect`) or directly via the [connection](#connect) dialog. :::info @@ -14,19 +16,23 @@ PowerShell is a command-line shell and scripting language developed by Microsoft :::note -Windows PowerShell and PowerShell Core are supported. Indructions for installing PowerShell Core can be found on the [official website](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?). +Windows PowerShell and PowerShell are supported. Indructions for installing PowerShell Core can be found on the [official website](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?). ::: :::tip -Windows Subsystem for Linux (WSL) can be used in PowerShell by passing the following [command](#command) to the PowerShell console: +Launching a command-line application such as `wsl` or `k9s` can be done by passing the [command](#command) to the PowerShell console. ```powershell +# Connect to WSL wsl -d + +# Connect to Kubernetes +k9s --readonly ``` -See [FAQ > How to use Windows Subsystem for Linux (WSL) in PowerShell?](../faq/powershell-wsl) for more information. +See [FAQ > PowerShell with command-line applications](../faq/powershell-cmd-apps) for more information. ::: @@ -183,6 +189,8 @@ Only available if [Remote console](#remote-console-1) is disabled. Use `wsl -d ` to connect to Windows Subsystem for Linux. +Use `k9s` or `k9s --readonly` to manage Kubernetes clusters. + ::: ### Additional command line @@ -225,6 +233,8 @@ Command to execute when the PowerShell console is started locally. Use `wsl -d ` to connect to Windows Subsystem for Linux. +Use `k9s` or `k9s --readonly` to manage Kubernetes clusters. + ::: ### Additional command line @@ -285,6 +295,8 @@ Default command to execute when the PowerShell console is started locally. Use `wsl -d ` to connect to Windows Subsystem for Linux. +Use `k9s` or `k9s --readonly` to manage Kubernetes clusters. + ::: ### Additional command line diff --git a/Website/docs/application/putty.md b/Website/docs/application/putty.md index 07ce5156ec..8e1e0c76b6 100644 --- a/Website/docs/application/putty.md +++ b/Website/docs/application/putty.md @@ -4,7 +4,9 @@ sidebar_position: 10 # PuTTY -With **PuTTY** you can connect to a remote computer via Secure Shell (SSH) or Telnet. In addition you can connect to a local serial port. The integration of PuTTY with NETworkManger supports tabs and profiles for hosts. The connection can be established via a profile (double-click, Enter key or right-click `Connect`) or directly via the [connection](#connect) dialog. +With **PuTTY** you can connect to a remote computer via Secure Shell (SSH) or Telnet. In addition you can connect to a local serial port. + +The integration of PuTTY with NETworkManger supports tabs and profiles for hosts. You can establish a connection via a profile (double-click, Enter key or right-click `Connect`) or directly via the [connection](#connect) dialog. :::info diff --git a/Website/docs/faq/powershell-wsl.md b/Website/docs/faq/powershell-cmd-apps.md similarity index 50% rename from Website/docs/faq/powershell-wsl.md rename to Website/docs/faq/powershell-cmd-apps.md index 563850cc0c..829ea3c9ea 100644 --- a/Website/docs/faq/powershell-wsl.md +++ b/Website/docs/faq/powershell-cmd-apps.md @@ -1,16 +1,24 @@ -# PowerShell with WSL - -## How to use Windows Subsystem for Linux (WSL) in PowerShell? +# PowerShell with command-line applications Create a new connection or profile with the following settings: - Remote console: `False` -- Command: `wsl -d ` +- Command: ` ` -![PowerShell with WSL](../img/powershell-wsl.gif) + ```PowerShell + # Connect to WSL + wsl -d + + # Connect to Kubernetes + k9s --readonly + ``` :::note Windows Subsystem for Linux (WSL) must be installed and enabled on your system to use this feature. ::: + +![PowerShell with WSL](../img/powershell-wsl.gif) + +![PowerShell with WSL and K9s](../img/powershell-wsl-k9s.png) diff --git a/Website/docs/img/powershell-wsl-k9s.png b/Website/docs/img/powershell-wsl-k9s.png new file mode 100644 index 0000000000..5f8cc38575 Binary files /dev/null and b/Website/docs/img/powershell-wsl-k9s.png differ