- Get PowerShell version:
$PSVersionTable
- Open notepad on a file:
notepad filename
- Install OpenSSH Server on Windows
- How to configure OpenSSH on Windows to use PowerShell
- Restart SSH server:
Restart-service sshd
$PSVersionTable
notepad filename
Restart-service sshd