This is an old revision of the document!
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) |
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')
Discussion