This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region UX config | |
Import-Module posh-git | |
if (Get-Module PSReadLine) { | |
Import-Module oh-my-posh | |
$ThemeSettings.MyThemesLocation = "~/.config/powershell/oh-my-posh/Themes" | |
if (Get-Theme | Where-Object Name -eq Sorin-NL) { | |
Set-Theme Sorin-NL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PowerShell remoting over SSH | |
## Configuring Windows | |
### Install SSHD as Feature on Demand | |
### Modify sshd_config for powershell subsystem | |
## SSH remoting | |
ssh –l user@domain computer |