2013年9月27日 星期五

找出網域的KMS主機

http://kb.wisc.edu/page.php?id=7770

If a SRV record exists for the domain, the DNS server will detail the SRV record.
C:\>nslookup -type=srv _vlmcs._tcp
Server:  rdns1.doit.wisc.edu
Address:  128.104.254.254

Non-authoritative answer:
_vlmcs._tcp..wisc.edu       SRV service location:
          priority       = 0
          weight         = 0
          port           = 1688
          svr hostname   = ms-kms-1.services.wisc.edu


p.s.KMS Server預設的port是1688

查詢群組原則套用狀況

gpresult /h gpreport GPReport.html

ref:
RSOP

2013年8月6日 星期二

淺談 ECMAScript 5 嚴格模式 (Strict Mode)

http://kuro.tw/blog/2011/11/28/ecmascript-5-strict-mode

implied global

沒用var宣告就使用是全域物件的一個屬性(property of global object)。
JavaScript:The Good Parts說它是implied global。
保哥Will有提到variable無法被delete,property是可以被delete,
試了一下是可以delete,所以說它是全域變數還是覺得怪怪的。