2017年9月29日 星期五

wINODWS 2012 R2 time sync W32TM

w32tm /config /manualpeerlist:"192.168.31.2" /syncfromflags:manual /reliable:yes /update
w32tm /resync
w32tm/query /status


https://technet.microsoft.com/en-us/library/cc731191(v=ws.10).aspx



http://www.sysadminlab.net/windows/configuring-ntp-on-windows-server-2012


Start from scratch
If you completely screwed up the config, you can always do the following command and it will completely erase and add a default W32time configuration:
Stop-Service w32time
w32tm /unregister
w32tm /register

2017年9月28日 星期四

connect Load balancer and static route

LInux base,

connect Load balancer and static route


Web server gateway
Default route:
10.229.3.0 to 0.0.0.0 eth0
0.0.0.0 to 192.168.10.254 eth1 (to LB)

powershell reset office 365 password

reset password

PS C:\> Set-MsolUserPassword -UserPrincipalName "30234653@stu.scs.cuhk.edu.hk" -NewPassword "Lriwsajiu456"