Reset Password and Force Change at Logon for an Entire OU: dsquery user “OU=Singapore,OU=Staff,DC=rmohan,DC=com” | dsmod user -pwd Password1 -mustchpwd yes
Change “company” AD attribute for all Users in an Entire OU: dsquery user “OU=Singapore,OU=Staff,DC=rmohan,DC=com” | dsmod user -company “rmohan”
Return the DN of all users in an OU: dsquery user “OU=Singapore,OU=Staff,DC=rmohan,DC=com”
“CN=User1,OU=Singapore,OU=Staff,DC=rmohan,DC=com” “CN=User2,OU=Singapore,OU=Staff,DC=rmohan,DC=com” “CN=User3,OU=Singapore,OU=Staff,DC=rmohan,DC=com”
[…]
Recent Comments