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
windows:windows:commands [2018/03/09 11:34] lunetikkwindows:windows:commands [2023/01/12 17:37] (current) 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  |\\
-|<nowiki>([adsi]'WinNT://domain/username').ChangePassword('oldpassword','newpassword')</nowiki>  |  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  |\\ 
 +|(new-object -ComObject shell.application).WindowsSecurity()  |  open "strg + alt + entf" without pressing it  |\\
  
 === Commandlist === === Commandlist ===
Line 15: Line 19:
 ~~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.1520591659.txt.gz · Last modified: 2018/03/09 11:34 by lunetikk