Disable User กรณี User ลาออกแล้วต้องการ Disable User จะทำอย่างไร

 Disable User กรณี User ลาออกแล้วต้องการ  Disable User จะทำอย่างไร

กำหนดวันหมดอายุ user ลาออก


CMD

dsmod.exe user "CN=IT001,CN=Users,DC=BUGpairoj,DC=local" -disabled yes



Power shell


Import-Module ActiveDirectory

Disable-ADAccount -Identity "CN=IT001,CN=Users,DC=BUGpaiorj,DC=local"



ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

Tips : การเปิด Shadow copy ช่วยกู้ข้อมูลได้ (VDO LAB)

ตัวอย่าง การออกแบบการกำหนดสิทธิ์ (Matrix Role Security)

คู่มือ การติดตั้ง iTOP management เริ่มจาก 0 (ไม่มีเสียง)