| Microsoft - DS Tools |
| Vendor | Microsoft |
| Platform | Windows |
| Version | 2003 |
| Programming - Windows (BAT files) |
| Monday, 19 May 2008 15:33 |
|
DS Tools are great for batching large changes to the Active Directory. Here are some examples: dsadd groupdsadd adds a group. dsadd group dn=Sales,ou=South,dc=carsLTD,dc=com dsmod groupdsmod modifies a group. dsmod group "cn=Accounts,ou=South,dc=Carsltd,dc=com" - addmbr "cn=salesman2,ou=Sales, dc=Carsltd,dc=com" dsquery groupdquery queries a group. dsquery groupname south* | dsmod group -addmbr [members to add DN] dsgetdsget retrieves info on an object(s). The following example would output everything that this user is a member of. dsget users [Users DN] -memberof ExampleWithin this example PC1 would be moved from the OU "PSOU" to the OU "PCS TEMP" C:\>dsmove "cn=PC1,ou=*PCSOU,dc=MYCOMANY,dc=org,dc=uk" -newparent "ou=*PCS temp,dc=MYCOMPANY,dc=org,dc=uk AdditionalFurther information on DS Tools can be found at www.computerperformance.co.uk |
Latest Articles
- Tool - SSLReport
- Brocade ADX - How to perform an image upgrade
- Cisco ASA reboots/crashes when running the command 'show service-policy interface outside set connection detail'
- Brocade ADX - Persistence
- How to define a port range on a Juniper SRX
- Path MTU Discovery (PMTUD) / Path MTU Black Holes
- Mitigating DoS attacks on a Cisco ASA
- How do I clear the Cisco ASA connection counters ?
- High CPU Usage on a Cisco CSS
- How to clone a MySQL database
- Brocade ADX - Configuring SSL
- Brocade ADX - Content Switching Rewrite
- Joomla - How to add a custom field
- BigIP F5 LTM - How to Create a Sorry Page with Image
- BigIP F5 LTM - TCP Syslog
- Cisco ASA - Traffic blocked when TCP syslog server is unreachable
- Excel - Unable to open file
- Brocade ADX - DoS Protection
- Brocade ADX - LoadBalancing Methods
- Brocade ADX - Healthcheck Elements
Popular
- Proxy ARP – SPLAT
- Check Point Commands
- IPSO - Commands
- ASA 8.3 - How to configure NAT
- vSphere - Creating User and Group Permissions
- PEMU - Free Cisco PIX Firewall Emulator / Simulator
- Juniper Netscreen Commands
- Juniper - NAT Explained
- Configuring Wireless Connectivity within Backtrack 4 r2
- ESX Convertor - The session is not authenticated
- How do I install snmpwalk / snmpget using Yum ?
- Netscreen - NSRP
- ESX - ViClient Cannot connect to host
- Troubleshooting a Netscreen Site 2 Site VPN
- Endpoint Connect Installation / Troubleshooting Guide
- ESXi - Connecting to a named pipe
- Check Point - How to Reset SIC
- ESXi White Box - HP DL140
- DNS / nslookup - How to find the root servers ?
- Netscreen - Routing Basics / Virtual Routers / PBR
