Windows Command Line
References
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands
- https://ss64.com/
- https://ss64.com/nt/
- https://ss64.com/ps/
Useful thingies
Useful commands.
See current Logon sessions
RDP sessions are included.
PowerShell | |
---|---|
Terminate a logon session
To completely terminate a logon session:
PowerShell | |
---|---|
To simply disconnect from within a remote (RDP) session, leaving the session on the remote machine open:
PowerShell | |
---|---|
Control Panel, system dialogs, Microsoft Management Console
appwiz.cpl
: opens "Programs and Features"ncpa.cpl
: opens "Network Connections"systempropertiesadvanced
: opens "System Properties", "Advanced" tabservices.msc
: opens "Services"compmgmt.msc
: opens "Computer Management"devmgmt.msc
: opens "Device Manager"diskmgmt.msc
: opens "Disk Management"gpedit.msc
: opens "Local Group Policy Editor"lusrmgr.msc
: opens "Local Users and Groups"mmc
: opens Microsoft Management Consolemstsc
: opens "Remote Desktop Connection"taskmgr
: opens Task Managermspaint
: opens Paintslui
: opens "Windows Activation Center"winver
: opens "About Windows"control
: opens Control Panel