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"
ความคิดเห็น
แสดงความคิดเห็น