Log inRegister
You are here: Boossy » Software » SwMicrosoft » MsWindows10 » Win10Terminal

Windows Terminal

Windows Terminal combineert een aantal command line tools:
  • Command Prompt
  • PowerShell
  • Azure Cloud Shell
  • WSL (Windows Subsystem for Linux)
Ook SSH-sessies vanuit Terminal zijn mogelijk, als je tenminste de Windows Additional Feature OpenSSH Client hebt geïnstalleerd.

Bovendien kun je met tabs werken.

Als je het wil toevoegen aan je contextmenu, zie dan: https://github.com/lextm/windowsterminal-shell.

PowerShell 7

Ik heb Windows Terminal weer verwijderd na installatie van !PowerShell 7.

Hoe achterhaal je het versienummer van PowerShell? Geef volgende opdracht in PowerShell:

Get-Host | Select-Object Version

De installatiebestanden vind je hier: https://github.com/PowerShell/PowerShell

Bij de installatie daarvan kun je ervoor kiezen om PowerShell toe te voegen aan het contextmenu (en om .ps-bestanden te openen met PowerShell 7):
  • PowerShell 7 > Open here
  • PowerShell 7 > Open here as Administrator

System shell

PsExec is designed especially to execute commands on remote machines.

Using the PsExec command line utility from PsTools (PsTools - Windows Sysinternals | Microsoft Docs), you can initiate a system shell. Open an elevated command prompt and issue the following statement to do that:
psexec.exe -s -i cmd

The above command starts the shell for the System account (-s) interactively (-i), and works fine for domain connected pc's.

If you want to launch a psexec session on your local machine (not connected to a domain), issue the following command:
PSEXEC.EXE \\<ip address> -u <username> -p <password> -s -i cmd

Strangely enough, it doesn't work with the machine name, but requires the ip address.

Why do you need it?

This way you have access to e.g. C:\Program Files\WindowsApps.
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This page was cached on 18 Nov 2022 - 00:57.