Windows XP Run Commands and Shortcuts
Windows XP Home / Pro Run Commands and Short Cuts
How To - Click Start, Click Run and enter the command Click OK
Run commands
test
Calc - Calculator
Cfgwiz32 - ISDN Configuration Wizard
Charmap - Character Map
Chkdisk - Repair damaged files
Cleanmgr - Cleans up hard drives
Clipbrd - Windows Clipboard viewer
Cmd - Opens a new Command Window (cmd.exe)
Control - Displays Control Panel
Dcomcnfg - DCOM user security
Debug - Assembly language programming tool
Defrag - Defragmentation tool
Drwatson - Records programs crash & snapshots
Dxdiag - DirectX Diagnostic Utility
Explorer - Windows Explorer
Fontview - Graphical font viewer
Ftp - ftp.exe program
Hostname - Returns Computer's name
Ipconfig - Displays IP configuration for all network adapters
Jview - Microsoft Command-line Loader for Java classes
MMC - Microsoft Management Console
Msconfig - Configuration to edit startup files
Msinfo32 - Microsoft System Information Utility
Nbtstat - Displays stats and current connections using NetBios over TCP/IP
Netstat - Displays all active network connections
Nslookup- Returns your local DNS server
Ping - Sends data to a specified host/IP
Regedit - registry Editor
Regsvr32 - register/de-register DLL/OCX/ActiveX
Regwiz - Reistration wizard
Sfc /scannow - Sytem File Checker
Sndrec32 - Sound Recorder
Sndvol32 - Volume control for soundcard
Sysedit - Edit system startup files (config.sys, autoexec.bat, win.ini, etc.)
Systeminfo - display various system information in text console
Taskmgr - Task manager
Telnet - Telnet program
Taskkill - kill processes using command line interface
Tskill - reduced version of Taskkill from Windows XP Home
Tracert - Traces and displays all paths required to reach an internet host
Winchat - simple chat program for Windows networks
Winipcfg - Displays IP configuration
Management Consoles
certmgr.msc - Certificate Manager
ciadv.msc - Indexing Service
compmgmt.msc - Computer management
devmgmt.msc - Device Manager
dfrg.msc - Defragment
diskmgmt.msc - Disk Management
fsmgmt.msc - Folder Sharing Management
eventvwr.msc - Event Viewer
gpedit.msc - Group Policy -XP Pro only
iis.msc - Internet Information Services
lusrmgr.msc - Local Users and Groups
mscorcfg.msc - Net configurations
ntmsmgr.msc - Removable Storage
perfmon.msc - Performance Manager
secpol.msc - Local Security Policy
services.msc - System Services
wmimgmt.msc - Windows Management
Shortcuts
access.cpl - Accessibility Options
hdwwiz.cpl - Add New Hardware Wizard
appwiz.cpl - dd/Remove Programs
timedate.cpl - Date and Time Properties
desk.cpl - Display Properties
inetcpl.cpl - Internet Properties
joy.cpl - Joystick Properties
main.cpl keboard - Keyboard Properties
main.cpl - Mouse Properties
ncpa.cpl - Network Connections
ncpl.cpl - Network Properties
telephon.cpl - Phone and Modem options
powercfg.cpl - Power Management
intl.cpl - Regional settings
mmsys.cpl sounds - Sound Properties
mmsys.cpl - Sounds and Audio Device Properties
sysdm.cpl - System Properties
nusrmgr.cpl - User settings
firewall.cpl - Firewall Settings (sp2)
wscui.cpl - Security Center (sp2)
Windows Environment Commands
%ALLUSERSPROFILE% - Open the All User's Profile
%HomeDrive% - Opens your home drive e.g. C:\
%UserProfile% - Opens you User's Profile
%temp% Opens - temporary file Folder
%systemroot% - Opens Windows folder
Wupdmgr - Takes you to Microsoft Windows Update
General keyboard shortcuts
CTRL+C(Copy)
CTRL+X (Cut)
CTRL+Z (Undo)
DELETE (Delete)
SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin)
CTRL while dragging an item (Copy the selected item)
CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)
F2 key (Rename the selected item)
CTRL+RIGHT ARROW (Move the insertion point to the beginning of the next word)
CTRL+LEFT ARROW (Move the insertion point to the beginning of the previous word)
CTRL+DOWN ARROW (Move the insertion point to the beginning of the next paragraph)
CTRL+SHIFT with any of the arrow keys (Highlight a block of text)
CTRL+UP ARROW (Move the insertion point to the beginning of the previous paragraph)
SHIFT with any of the arrow keys (Select more than one item in a window or on the desktop, or select text in a document)
CTRL+A (Select all)
F3 key (Search for a file or a folder)
ALT+ENTER (View the properties for the selected item)
ALT+F4 (Close the active item, or quit the active program)
ALT+ENTER (Display the properties of the selected object)
ALT+SPACEBAR (Open the shortcut menu for the active window)
CTRL+F4 (Close the active document in programs that enable you to have multiple documents open simultaneously)
ALT+TAB (Switch between the open items)
ALT+ESC (Cycle through items in the order that they had been opened)
F6 key (Cycle through the screen elements in a window or on the desktop)
F4 key (Display the Address bar list in My Computer or Windows Explorer)
SHIFT+F10 (Display the shortcut menu for the selected item)
ALT+SPACEBAR (Display the System menu for the active window)
CTRL+ESC (Display the Start menu)
ALT+Underlined letter in a menu name (Display the corresponding menu)
Underlined letter in a command name on an open menu (Perform the corresponding command)
F10 key (Activate the menu bar in the active program)
RIGHT ARROW (Open the next menu to the right, or open a submenu)
LEFT ARROW (Open the next menu to the left, or close a submenu)
F5 key (Update the active window)
BACKSPACE (View the folder one level up in My Computer or Windows Explorer)
ESC (Cancel the current task)
SHIFT when you insert a CD-ROM into the CD-ROM drive (Prevent the CD-ROM from automatically playing)
CTRL+SHIFT+ESC (Open Task Manager) Dialog box keyboard shortcuts
If you press SHIFT+F8 in extended selection list boxes, you enable extended selection mode. In this mode, you can use an arrow key to move a cursor without changing the selection. You can press CTRL+SPACEBAR or SHIFT+SPACEBAR to adjust the selection. To cancel extended selection mode, press SHIFT+F8 again. Extended selection mode cancels itself when you move the focus to another control.
CTRL+TAB (Move forward through the tabs)
CTRL+SHIFT+TAB (Move backward through the tabs)
TAB (Move forward through the options)
SHIFT+TAB (Move backward through the options)
ALT+Underlined letter (Perform the corresponding command or select the corresponding option)
ENTER (Perform the command for the active option or button)
SPACEBAR (Select or clear the check box if the active option is a check box)
Arrow keys (Select a button if the active option is a group of option buttons)
F1 key (Display Help)
F4 key (Display the items in the active list)
BACKSPACE (Open a folder one level up if a folder is selected in the Save As or Open dialog box)
Microsoft natural keyboard shortcuts
Windows Logo+BREAK (Display the System Properties dialog box)
Windows Logo+D (Display the desktop)
Windows Logo+M (Minimize all of the windows)
Windows Logo+SHIFT+M (Restore the minimized windows)
Windows Logo+E (Open My Computer)
Windows Logo+F (Search for a file or a folder)
CTRL+Windows Logo+F (Search for computers)
Windows Logo+F1 (Display Windows Help)
Windows Logo+ L (Lock the keyboard)
Windows Logo+R (Open the Run dialog box)
Windows Logo+U (Open Utility Manager)
Accessibility keyboard shortcuts
Right SHIFT for eight seconds (Switch FilterKeys either on or off)
Left ALT+left SHIFT+PRINT SCREEN (Switch High Contrast either on or off)
Left ALT+left SHIFT+NUM LOCK (Switch the MouseKeys either on or off)
SHIFT five times (Switch the StickyKeys either on or off)
NUM LOCK for five seconds (Switch the ToggleKeys either on or off)
Windows Logo +U (Open Utility Manager)
Windows Explorer keyboard shortcuts
END (Display the bottom of the active window)
HOME (Display the top of the active window)
NUM LOCK+Asterisk sign (*) (Display all of the subfolders that are under the selected folder)
NUM LOCK+Plus sign (+) (Display the contents of the selected folder)
NUM LOCK+Minus sign (-) (Collapse the selected folder)
LEFT ARROW (Collapse the current selection if it is expanded, or select the parent folder)
RIGHT ARROW (Display the current selection if it is collapsed, or select the first subfolder)
Shortcut keys for Character Map
After you double-click a character on the grid of characters, you can move through the grid by using the keyboard shortcuts
RIGHT ARROW (Move to the right or to the beginning of the next line)
LEFT ARROW (Move to the left or to the end of the previous line)
UP ARROW (Move up one row)
DOWN ARROW (Move down one row)
PAGE UP (Move up one screen at a time)
PAGE DOWN (Move down one screen at a time)
HOME (Move to the beginning of the line)
END (Move to the end of the line)
CTRL+HOME (Move to the first character)
CTRL+END (Move to the last character)
SPACEBAR (Switch between Enlarged and Normal mode when a character is selected)
Microsoft Management Console (MMC) main window keyboard shortcuts
• CTRL+O (Open a saved console)
CTRL+N (Open a new console)
CTRL+S (Save the open console)
CTRL+M (Add or remove a console item)
CTRL+W (Open a new window)
F5 key (Update the content of all console windows)
ALT+SPACEBAR (Display the MMC window menu)
ALT+F4 (Close the console) • ALT+A (Display the Action menu)
ALT+V (Display the View menu)
ALT+F (Display the File menu)
ALT+O (Display the Favorites menu)
MMC console window keyboard shortcuts
CTRL+P (Print the current page or active pane)
ALT+Minus sign (-) (Display the window menu for the active console window)
SHIFT+F10 (Display the Action shortcut menu for the selected item)
F1 key (Open the Help topic, if any, for the selected item)
F5 key (Update the content of all console windows)
CTRL+F10 (Maximize the active console window)
CTRL+F5 (Restore the active console window)
ALT+ENTER (Display the Properties dialog box, if any, for the selected item)
F2 key (Rename the selected item)
CTRL+F4 (Close the active console window. When a console has only one console window, this shortcut closes the console)
Remote desktop connection navigation
CTRL+ALT+END (Open the Microsoft Windows NT Security dialog box)
ALT+PAGE UP (Switch between programs from left to right)
ALT+PAGE DOWN (Switch between programs from right to left)
ALT+INSERT (Cycle through the programs in most recently used order)
ALT+HOME (Display the Start menu)
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.)
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.)
Microsoft Internet Explorer navigation
CTRL+B (Open the Organize Favorites dialog box)
CTRL+E (Open the Search bar)
CTRL+F (Start the Find utility)
CTRL+H (Open the History bar)
CTRL+I (Open the Favorites bar)
CTRL+L (Open the Open dialog box)
CTRL+N (Start another instance of the browser with the same Web address)
CTRL+O (Open the Open dialog box, the same as CTRL+L)
CTRL+R (Update the current Web page)
CTRL+ CTRL+P (Open the Print dialog box)
W (Close the current window)
Note Some keyboard shortcuts may not work if StickyKeys is turned on in Accessibility Options, Some of the Terminal Services client shortcuts that are similar to the shortcuts in Remote Desktop Sharing are not available when you use Remote Assistance in Windows XP Home Edition.
Thanks to The New Tech for the original forum posting.
Microsoft Office run commands
If the Microsoft Office is installed you can use following run commands to run its components:
winword – Microsoft Word
excel – Microsoft Excel
powerpnt – Microsoft PowerPoint
msaccess – Microsoft Access
outlook – Microsoft Outlook
ois – Microsoft Picture Manager
How To ...
Monday, 23 December 2013
RES Trace
Create a trace file for troubleshooting RES Workspace Manager 2012
To initiate the RES Workspace Manager trace mode:
1) Add the following registry values to the machine running RES Workspace Manager under
32-bits OS: HKEY_LOCAL_MACHINE\SOFTWARE\RES\Workspace Manager
64-bits OS: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\RES\Workspace Manager
Value: Trace
Type: REG_SZ
Data: Yes
Value: TraceDetailed
Type: REG_SZ
Data: Yes
Value: TraceFile
Type: REG_SZ
Data: c:\temp\RESTrace.log
Since RES Workspace Manager 2012 SR1 it is possible to increase the size of the trace log by applying the following:
Value: TraceSize
Type: REG_SZ
Data: 10 (size in MB. Default= 2 MB, Recommended= 10 MB, Maximum= 512 MB)
Note: Only configure the 512 MB file size if this is requested by a RES Software Support Engineer.
2) Trace file is generated automatically within 1 minute. If not, restart the “RES Workspace Manager Agent” Service. This will not affect currently running sessions.
3) Check if the trace file is created correctly at the configured location.
Please make sure that every user has Modify permissions on the folder where the log file is created!
A correct trace file from a user session must contain tracing from the process "pfwsmgr.exe". Please verify this.
4) In a Process Interception investigation, an additional trace file named “igstub.log” is generated for intercepted processes within the user’s profile under “%TEMP%” (in general C:\Users\%username%\AppData\Local\Temp)
Note:
- The location of c:\temp\RESTrace.log can be changed if necessary.
- It is not possible to use a variable like %systemroot% or %windir%
- Please make sure that every user has Modify permissions on the folder where the log file is created
- If you have configured `Read-Only Blanketing` make sure you make an exception for the location of the trace file
To initiate the RES Workspace Manager trace mode:
1) Add the following registry values to the machine running RES Workspace Manager under
32-bits OS: HKEY_LOCAL_MACHINE\SOFTWARE\RES\Workspace Manager
64-bits OS: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\RES\Workspace Manager
Value: Trace
Type: REG_SZ
Data: Yes
Value: TraceDetailed
Type: REG_SZ
Data: Yes
Value: TraceFile
Type: REG_SZ
Data: c:\temp\RESTrace.log
Since RES Workspace Manager 2012 SR1 it is possible to increase the size of the trace log by applying the following:
Value: TraceSize
Type: REG_SZ
Data: 10 (size in MB. Default= 2 MB, Recommended= 10 MB, Maximum= 512 MB)
Note: Only configure the 512 MB file size if this is requested by a RES Software Support Engineer.
2) Trace file is generated automatically within 1 minute. If not, restart the “RES Workspace Manager Agent” Service. This will not affect currently running sessions.
3) Check if the trace file is created correctly at the configured location.
Please make sure that every user has Modify permissions on the folder where the log file is created!
A correct trace file from a user session must contain tracing from the process "pfwsmgr.exe". Please verify this.
4) In a Process Interception investigation, an additional trace file named “igstub.log” is generated for intercepted processes within the user’s profile under “%TEMP%” (in general C:\Users\%username%\AppData\Local\Temp)
Note:
- The location of c:\temp\RESTrace.log can be changed if necessary.
- It is not possible to use a variable like %systemroot% or %windir%
- Please make sure that every user has Modify permissions on the folder where the log file is created
- If you have configured `Read-Only Blanketing` make sure you make an exception for the location of the trace file
Tuesday, 6 August 2013
Top ESXi Commands
#Logs
https://gbsmcvesx1/host
vm-support -w /vmfs/volumes/<datastorename>
cd /var/log/
less /var/log/vmkwarning.log
tail -5 hostd.log
cat vpxa.log | grep STATUS
cat hostd.log | grep failed | more
/var/log/vmware/esxcfg-firewall.log
tail -f /var/log/messages
#Services
services.sh restart
service mgmt-vmware restart .restarts 'hostd' [ESX only]
service vmware-vpxa restart .restarts 'vpxa' [ESX only]
ps .lists running processes
ps | grep vpxa
ps -g |grep vukdr2-029
kill -9 15962848
#Files
ls | grep hosts .displays files that contain the name 'hosts'
ls | more
ls *vicfg*
find ./ -print | grep esxcfg-firewall .find command location
#Network
esxcfg-nics -l
esxcfg-vswitch -l
esxcli network nic list
vicfg-nics --server 192.168.0.2 -l
esxcli network nic down -n vmnic0
esxcli network nic up -n vmnic0
esxcli network nic up -n vmnic0
esxcli network nic get -n vmnic0
esxcfg-vswitch -U vmnic0 vSwitch0 .removes the vmnic
esxcfg-vswitch -L vmnic0 vSwitch0 .adds the vmnic
esxcfg-vswitch -Q vmnic1 -V 253 dvSwitch0 .remove from dvSwitch
esxcfg-vswitch -P vmnic1 -V 253 dvSwitch0 .adds to dvSwitch
#Information
esxcfg-info -h
esxcfg-info -n > networking.txt .dumps to the file
nano networking.txt
esxcli system version get
vicfg-hostops -o info
vim-cmd hostsvc/hostsummary
/etc/vmware/esx.conf .information overload!
#Modules/Drivers
esxcfg-module -l
esxcfg-module -i xsvhba .retrive info about xsvhba
cat /proc/driver/xscore/info
cat /proc/driver/xscore/xcpm/ports/23... .more details
#Storage
esxcfg-nas
esxcfg-mpath -l
esxcfg-rescan
esxcfg-scsidevs -a
esxcfg-scsidevs -m .friendly volume names
esxcfg-swiscsi
esxcfg-volume
vmkiscsi-tool
esxcli nmp psp list
esxcli nmp satp list
esxcli nmp path list | more
esxcli nmp device list
#Datastores
esxcli storage filesystem list .lists sizes/free space
vicfg-scsidevs -m .lists datastores
vicfg-scsidevs -l .detailed datastore info
#List VMs
vim-cmd vmsvc/getallvms | grep vukdr2-029
esxcli vm process list .lists running VMs
vmware-cmd -l
vm-support -V
esxcli vm process list | grep vuk51-004
esxcli vm process kill --type=soft --world-id=16444663 .kill vm
#Get VM state
vim-cmd vmsvc/power.getstate 34
vmware-cmd /vmfs/volumes/5045.../CENTOS-01/CENTOS-01.vmx getstate
#Kill VMs
vim-cmd vmsvc/power.<shutdown|off> 34 .vmid=34
esxcli vm process kill -t soft|hard|force -w 3581 .worldID=3581
vmware-cmd /vmfs/volumes/../../testvm.vmx stop <soft|hard>
#Start VMs
vim-cmd vmsvc/power.on 34
vmware-cmd /vmfs/volumes/../../testvm.vmx start
#VM Operations
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx hassnapshot
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx createsnapshot SNAP1 'Test description' 0 0
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx revertsnapshot
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx removesnapshots
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx gettoolslastactive
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx connectdevice "CD/DVD drive 1"
vmware-cmd -s unregister /vmfs/volumes/storage1/./myvm.vmx
vmware-cmd -s register /vmfs/volumes/storage1/./myvm.vmx
vim-cmd solo /registervm /vmfs/volumes/../gbmacvct.vmx
#Host Power
esxcli system shutdown poweroff -r <reason>
vicfg-hostops -o shutdown -f
vicfg-hostops -o reboot
#Host Maintenance Mode
esxcli system maintenanceMode get
vicfg-hostops -o enter .sets maintenance mode
esxcli system maintenanceMode set -e 1
vim-cmd hostsvc/maintenance_mode_enter
vim-cmd hostsvc/maintenance_mode_exit
vicfg-hostops -o exit
#Host Backups
vicfg-cfgbackups -s /tmp/gbmacesx01_63863.txt .saves host config
vicfg-cfgbackups -l /tmp/gbmacesx01_63863.txt .loads host config
vicfg-cfgbackup -r .resets host to default
#Host AD
vicfg-authconfig --authscheme AD -j abc.com .join host to domain
vicfg-authconfig --authscheme AD -L .remove from domain
vicfg-authconfig --authscheme AD --currentdomain .lists domain
#NTP
vicfg-ntp -l
vicfg-ntp -a 192.168.0.55 .add an NTP server
vicfg-ntp -r .start NTP service
vicfg-ntp -s .stop NTP service
vicfg-ntp -d 192.168.0.55 .deletes NTP server
#VMA
sudo domainjoin-cli join zialabs.net <username>
#Troubleshooting
grep -i MONITOR vmware.log
find ./ -print | grep <searchstring>
https://gbsmcvesx1/host
vm-support -w /vmfs/volumes/<datastorename>
cd /var/log/
less /var/log/vmkwarning.log
tail -5 hostd.log
cat vpxa.log | grep STATUS
cat hostd.log | grep failed | more
/var/log/vmware/esxcfg-firewall.log
tail -f /var/log/messages
#Services
services.sh restart
service mgmt-vmware restart .restarts 'hostd' [ESX only]
service vmware-vpxa restart .restarts 'vpxa' [ESX only]
ps .lists running processes
ps | grep vpxa
ps -g |grep vukdr2-029
kill -9 15962848
#Files
ls | grep hosts .displays files that contain the name 'hosts'
ls | more
ls *vicfg*
find ./ -print | grep esxcfg-firewall .find command location
#Network
esxcfg-nics -l
esxcfg-vswitch -l
esxcli network nic list
vicfg-nics --server 192.168.0.2 -l
esxcli network nic down -n vmnic0
esxcli network nic up -n vmnic0
esxcli network nic up -n vmnic0
esxcli network nic get -n vmnic0
esxcfg-vswitch -U vmnic0 vSwitch0 .removes the vmnic
esxcfg-vswitch -L vmnic0 vSwitch0 .adds the vmnic
esxcfg-vswitch -Q vmnic1 -V 253 dvSwitch0 .remove from dvSwitch
esxcfg-vswitch -P vmnic1 -V 253 dvSwitch0 .adds to dvSwitch
#Information
esxcfg-info -h
esxcfg-info -n > networking.txt .dumps to the file
nano networking.txt
esxcli system version get
vicfg-hostops -o info
vim-cmd hostsvc/hostsummary
/etc/vmware/esx.conf .information overload!
#Modules/Drivers
esxcfg-module -l
esxcfg-module -i xsvhba .retrive info about xsvhba
cat /proc/driver/xscore/info
cat /proc/driver/xscore/xcpm/ports/23... .more details
#Storage
esxcfg-nas
esxcfg-mpath -l
esxcfg-rescan
esxcfg-scsidevs -a
esxcfg-scsidevs -m .friendly volume names
esxcfg-swiscsi
esxcfg-volume
vmkiscsi-tool
esxcli nmp psp list
esxcli nmp satp list
esxcli nmp path list | more
esxcli nmp device list
#Datastores
esxcli storage filesystem list .lists sizes/free space
vicfg-scsidevs -m .lists datastores
vicfg-scsidevs -l .detailed datastore info
#List VMs
vim-cmd vmsvc/getallvms | grep vukdr2-029
esxcli vm process list .lists running VMs
vmware-cmd -l
vm-support -V
esxcli vm process list | grep vuk51-004
esxcli vm process kill --type=soft --world-id=16444663 .kill vm
#Get VM state
vim-cmd vmsvc/power.getstate 34
vmware-cmd /vmfs/volumes/5045.../CENTOS-01/CENTOS-01.vmx getstate
#Kill VMs
vim-cmd vmsvc/power.<shutdown|off> 34 .vmid=34
esxcli vm process kill -t soft|hard|force -w 3581 .worldID=3581
vmware-cmd /vmfs/volumes/../../testvm.vmx stop <soft|hard>
#Start VMs
vim-cmd vmsvc/power.on 34
vmware-cmd /vmfs/volumes/../../testvm.vmx start
#VM Operations
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx hassnapshot
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx createsnapshot SNAP1 'Test description' 0 0
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx revertsnapshot
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx removesnapshots
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx gettoolslastactive
vmware-cmd /vmfs/volumes/storage1/../myvm.vmx connectdevice "CD/DVD drive 1"
vmware-cmd -s unregister /vmfs/volumes/storage1/./myvm.vmx
vmware-cmd -s register /vmfs/volumes/storage1/./myvm.vmx
vim-cmd solo /registervm /vmfs/volumes/../gbmacvct.vmx
#Host Power
esxcli system shutdown poweroff -r <reason>
vicfg-hostops -o shutdown -f
vicfg-hostops -o reboot
#Host Maintenance Mode
esxcli system maintenanceMode get
vicfg-hostops -o enter .sets maintenance mode
esxcli system maintenanceMode set -e 1
vim-cmd hostsvc/maintenance_mode_enter
vim-cmd hostsvc/maintenance_mode_exit
vicfg-hostops -o exit
#Host Backups
vicfg-cfgbackups -s /tmp/gbmacesx01_63863.txt .saves host config
vicfg-cfgbackups -l /tmp/gbmacesx01_63863.txt .loads host config
vicfg-cfgbackup -r .resets host to default
#Host AD
vicfg-authconfig --authscheme AD -j abc.com .join host to domain
vicfg-authconfig --authscheme AD -L .remove from domain
vicfg-authconfig --authscheme AD --currentdomain .lists domain
#NTP
vicfg-ntp -l
vicfg-ntp -a 192.168.0.55 .add an NTP server
vicfg-ntp -r .start NTP service
vicfg-ntp -s .stop NTP service
vicfg-ntp -d 192.168.0.55 .deletes NTP server
#VMA
sudo domainjoin-cli join zialabs.net <username>
#Troubleshooting
grep -i MONITOR vmware.log
find ./ -print | grep <searchstring>
Subscribe to:
Posts (Atom)