Author: jkuo

  • DSQuery

    DSQuery

    Using DSQuery to disable user accounts after inactivity period Query AD for users that have been inactive for 13 weeks dsquery user “CN=Users,DC=Domain,DC=local” -inactive 13

  • IOPS calculations

    IOPS calculations

    Read and Write IOPs Total the read and write IOPs and calculate the number of recommended spindles. For example, 10K RPM spindles can be assumed to support 130 IOPs, and 15K spindles can be assumed to support 180 IOPs. The total Backend IOPs workload is a function of the front-end (host) workload and the RAID […]

  • NTP tips

    NTP tips

    Checking your time against a reference NTP server w32tm /stripchart /computer:pool.ntp.org /samples:5 /dataonly Checking time across multiple systems using ‘psexec’ (from Sysinternals.com) psexec \\computer1,computer2,computer2 w32tm /stripchart /computer:pool.ntp.org /samples:5 /dataonly Setting the time services to use NTP and server NTP requests (for all AD servers). Step 1:  W32tm /config /syncfromflags:manual /manualpeerlist:pool.ntp.org /reliable:yes /update W32tm /resync Step 2:  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config] […]