User Tools

Site Tools


windows_quick_command

Differences

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

Link to this comparison view

windows_quick_command [2010/11/30 22:16]
k2patel
windows_quick_command [2020/08/10 02:35]
Line 1: Line 1:
-====== Command Helps On Windows ====== 
  
-==== How to reboot server from command line ==== 
-<code bash> 
-shutdown <​options>​ 
- 
--Available Options 
-/? Displays the Help listing 
-/i Displays the graphical user interface (GUI); it must be the first option 
-/l Logs off the current user; it cannot be used with the /d or /m options 
-/s Shuts down the computer 
-/r Shuts down and restarts the computer 
-/g Shuts down and restarts the computer and then restarts any registered applications 
-/a Aborts system Shutdown 
-/p Turns off the local computer with no timeout or warning 
-/h Hibernates the local machine 
-/e Documents the reason for shutting down the computer 
-/m Specifies the target computer; it is used with \\computername 
-/t xxx Where xxx is the number of seconds before Shutdown 
-/c “comment” Where “comment” is the reason for the Shutdown or restart 
-/f Forces running applications to close without warning users 
-/d [p|u:]xx:yy Provides the reason for the Shutdown action: p = planned; u= unplanned; xx supplies the major reason code; yy = supplies the minor reason code 
-</​code>​ 
-==== Remote Desktop - shortcut for guest screen ==== 
- 
-<code text> 
-CTRL+ALT+END:​ Open the Microsoft Windows NT Security dialog box (CTRL+ALT+DEL) 
- 
-ALT+PAGE UP: Switch between programs from left to right (CTRL+PAGE UP) 
- 
-ALT+PAGE DOWN: Switch between programs from right to left (CTRL+PAGE DOWN) 
- 
-ALT+INSERT: Cycle through the programs in most recently used order (ALT+TAB) 
- 
-ALT+HOME: Display the Start menu (CTRL+ESC) 
- 
-CTRL+ALT+BREAK:​ Switch the client computer between a window and a full screen 
- 
-ALT+DELETE: Display the Windows menu 
- 
-CTRL+ALT+Minus sign (-): Place a snapshot of the entire client window area on the Terminal server \\ 
-                         ​clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer (ALT+PRT SC) 
- 
-CTRL+ALT+Plus sign (+): Place a snapshot of the active window in the client on the Terminal server \\ 
-                        clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer (PRT SC) 
-</​code>​ 
- 
-==== Batch IP Alias Add using netsh ==== 
- 
-how to add multiple IP as an alias to windows. 
- 
-<code cmd> 
-FOR /L %I IN (1,1,200) DO netsh interface ip add address "Local Area Connection"​ 192.168.1.%I 255.255.255.0 
-</​code>​ 
- 
-Above command add IP range **192.168.1.1** to **192.168.1.200** to Interface "​**Local Area Connection**"​\\ 
-Make sure you modify your interface name according to need.\\ 
-As it must match existing one.\\ 
- 
-[[http://​www.howconfig.com/​windows/​batch-adding-multiple-ip-addresses-to-windows-server-with-netsh| Information used at]] 
windows_quick_command.txt · Last modified: 2020/08/10 02:35 (external edit)