Site Tools


windows:windows:commands

This is an old revision of the document!


Commands

Command Function
nltest /DCLIST:<DOMAIN> Shows all domaincontrollers for this domain
taskkill /IM <processname> /f Kills all processes with the given name
shutdown /r /t 30 /d p:0:0 /c „Aufgrund von Wartungsarbeiten wird der Server neu gestartet“ Restart Windows Server 2008 and higher with commandline
ren *.jpg *.png Rename all files from .jpg to .png in your current folder
([adsi]'WinNT://domain/username').ChangePassword('oldpassword','newpassword') Change your pass (ActiveDirectory) via Powershell (in case CTRL+ALT+DEL doesnt work)

Commandlist

thomas-krenn.com - CMD Commands



Change Password

To change the password (e. g. in a terminal-session within a terminal-session) via CLI (powershell): ([adsi]'WinNT:domain/username').ChangePassword('oldpassword','newpassword')

windows/windows/commands.1520591646.txt.gz · Last modified: 2018/03/09 11:34 by lunetikk