Problem:
Cannot type in Windows 2022 PowerShell from Linux Remmina/FreeRDP (RDP)
Solution:
Disable "Use client keyboard mapping" in Remmina Preferences.
Written with StackEdit.
Cannot type in Windows 2022 PowerShell from Linux Remmina/FreeRDP (RDP)
Disable "Use client keyboard mapping" in Remmina Preferences.
Written with StackEdit.
sudo apt remove --purge powershell
sudo apt install libc6 libgcc1 libgssapi-krb5-2 liblttng-ust0 libstdc++6 libcurl3 libunwind8 libuuid1 zlib1g libssl1.0.2 libicu57 libssl1.0.0 libssl1.0.2 libssl1.1 libicu52 libicu57 curl gnupg apt-transport-https
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/microsoft.list'
sudo apt update
sudo apt install -y powershell=6.0.1-1.debian.9
sudo apt-mark hold powershell #Pin this version... 'unhold' for non-recommended versions
pwsh
Segmentation fault you must sudo apt remove --purge libssl1.0.0!Install-Module -Name VMware.PowerCLI -Scope CurrentUser
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore #Accept self-signed certificates
You may later update withUpdate-Module VMware.PowerCLI
Update-Help
sudo pwsh and perform subsequent update with sudo pwsh as well.member property of the get-adgroup cmdlet.
PS> Install-Module -Name VMware.PowerCLI -Confirm:$false -Scope AllUsers -AllowClobber -ForceFind-Module "VMWare.*" | Update-Module -VerboseImport-Module VMware.VimAutomation.Core[...] -Scope AllUsersUpdate-Help(Get-Module VMware.PowerCLI -ListAvailable).RequiredModules | Uninstall-Module -Force Get-Module VMware.PowerCLI -ListAvailable | Uninstall-Module -ForcePersistent PowerShell CommandLine History
via https://github.com/lzybkr/PSReadLine (& https://technet.microsoft.com/en-us/library/bb613488(v=vs.85).aspx)
TL;DR :
Win10 install module:
Install-Module PSReadline
edit* system’s powershell profile:
notepad c:\windows\system32\WindowsPowerShell\v1.0\profile.ps1
to the end of the file, add:
Import-Module PSReadline
restart powershell
*(never use notepad, use https://www.sublimetext.com/ + https://packagecontrol.io/ instead)