Site Tools


windows:windows:commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
windows:windows:commands [2018/03/09 11:33] lunetikkwindows:windows:commands [2020/07/16 08:00] lunetikk
Line 6: Line 6:
 |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  |\\ |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  |\\ |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)  |+|<nowiki>([adsi]'WinNT://domain/username').ChangePassword('oldpassword','newpassword')</nowiki>   Change your pass (ActiveDirectory) via Powershell (in case CTRL+ALT+DEL doesnt work)  | \\ 
 +|fsutil fsinfo drives |  CMD command - list all drives  |\\ 
 +|net user %%<username>%% %%/domain%% |  show account info like password expiry date  |\\ 
 +|Get-DhcpServerInDC  |  show all dhcp servers in domain  |\\
  
 === Commandlist === === Commandlist ===
Line 15: Line 18:
 ~~DISCUSSION:closed~~ ~~DISCUSSION:closed~~
  
-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.txt · Last modified: 2023/01/12 17:37 by lunetikk