| 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
- F5 LTM VE 10.2.x - Interfaces not recognised
- Cisco ASA - Security Levels / NAT Control
- F5 LTM - OneConnect
- Django - CSRF verification failed. Request aborted.
- F5 LTM VE - Unable to attach to PCI device 02:01.00 for Interface 1.1
- F5 LTM - Connection Management
- Brocade ADX - FTP
- PKI - Chain of Trust
- Juniper SRX - Site to Site VPN using a Dynamic IP address
- F5 LTM - How do I perform software installations ?
- Juniper SRX - NAT
- Juniper SRX - How to configure a route based VPN
- Juniper SRX - Dynamic VPN
- Juniper SRX - How to configure a policy based VPN
- Brocade ADX - NAT
- Brocade ADX - CSW nested rules
- How do I upgrade a Juniper SRX Series gateway
- Cisco ASA - How do I capture ARP`s ?
- Juniper SRX - Configuring Source NAT with pool
- Running a packet capture on a Juniper SRX
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
- Configuring Wireless Connectivity within Backtrack 4 r2
- Juniper Netscreen Commands
- Juniper Netscreen - NAT Explained
- How do I install snmpwalk / snmpget using Yum ?
- Netscreen - NSRP
- ESX Convertor - The session is not authenticated
- Troubleshooting a Netscreen Site 2 Site VPN
- ESX - ViClient Cannot connect to host
- Endpoint Connect Installation / Troubleshooting Guide
- Check Point - How to Reset SIC
- ESXi - Connecting to a named pipe
- Netscreen - Routing Basics / Virtual Routers / PBR
- Configuring Windows 2008 R2 as an NTP Server
- Check Point Logging Troubleshooting Guide


