Some Server 2003 Commands
Filed under: Active Directory, Server OS
Comments: None
redircmp ou=workstation,DC=DOMAIN,DC=com
redircmp CONTAINER-DN
Makes that container Default.
———————————
netdom join computername /Domain:DOMAINNAME [/UserD:USER /PasswordD:USERPASSWORD] [/USER0:USER /Password0:USERPASSWORD] [/OU:OUDN] [REBoot:seconds]
UserD-Specifies the name of the domain user account that the program should use to join the computer to the domain.
UserO-Specifies the name of the local user account that the program should use to join the computer to the domain.
REBoot-Specifies that the computer should automatically shut down and reboot after it is joined to the domain. Default is 20 seconds.
—————————–
stsc loads remote desktop client
csvde -f FILENAME.csv exports Active Directory to CSV file
dfscmd /map \\<domain-name>\<root>\<link> \\<server>\<share> /map
Creating a file system share
net share sharename=drive:\path /grant:users,read