On a remote management machine, open regedit
Open remote registry on the Hyper-V host you want to uninstall software from
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Expand the sub keys and look for the uninstall string
Execute the string on the Hyper-V / Core server
Bash – capture exit code / result of last command
root@wintermute:/nfs# /etc/init.d/dnsmasq start
* Starting DNS forwarder and DHCP server dnsmasq [ OK ]
root@wintermute:/nfs# echo $?
0
Yes. All is well.
Configure MXL interfaces in bulk (in ranges)
Note the spaces when using the “range” command:
FTOS(conf)#interface range Tengigabitethernet 0/1 – 32
FTOS(conf-if-range-te-0/1-32)#
FTOS(conf-if-range-te-0/1-32)#
For VLAN configuration there are no spaces …. :
FTOS(conf)#interface vlan 900
FTOS(conf-if-vl-900)#untagged Tengigabitethernet 0/52-56
FTOS(conf-if-vl-900)#end
How to get UUID of local storage on XenServer
[root@XenServer14 ~]# pvscan | grep Local | awk ‘{print $4}’ | sed ‘s/-/ /’ | awk ‘{print $2}’
37c8d902-3f1c-4851-f640-b194a82ad80e
List permissions for all directories in a path
root@wintermute:~# namei -m /root/XenBackup/Xen_PXE_Install/webroot/
f: /root/XenBackup/Xen_PXE_Install/webroot/
drwxr-xr-x /
drwx—— root
drwxrwxrwx XenBackup
drwxrwxrwx Xen_PXE_Install
drwxrwxrwx webroot
Very useful to troubleshoot Apache2 403 permission errors when the document root has been changed from the default