(memberOf:1.2.840.113556.1.4.1941:=CN=admins,OU=security,DC=test,DC=org)
query user /server:$TARGET
# Linux
ping -M do -s 1500 -c 1 $HOST
# macOS
ping -c 1 -D -s 1500 $HOST
# Windows
ping -n 1 -l 1500 -f $HOST
netsh interface ipv4 show ipstats
netsh interface ipv4 show tcpstats
If In Errors
, In Header Errors
or Fragments Failed
have a value >0, there is a physical wire problem.
See source link.
cat > /etc/locale.gen << EOF
de_DE.UTF-8 UTF-8
en_US.UTF-8 UTF-8
EOF
cat > /etc/locale.conf << EOF
LANG="en_US.utf8"
LC_COLLATE="C"
w32tm /resync /computer:time.windows.com /nowait
net time /DOMAIN:$DOMAIN /set /y
esxcli system time set -y 2017 -M 01 -d 10 -H 15 -m 20 -s 01
esxcli hardware clock set -y 2017 -M 01 -d 10 -H 15 -m 20 -s 05
Note: Timezone is UTC
# backup mbr to file
dd if=/dev/sda of=mbr.img bs=446 count=1
# restore mbr to disk
dd if=mbr.img of=/dev/sda bs=446 count=1