Hands on with Windows Server 2008 r2: Admin tools

05.05.2009

DIR | ft -a

* To create a new organizational unit within a domain, use the following command:

New-ADOrganizationalUnit ­Name "International" ­Path "DC=domain_name,DC=TLD"

* To delete the organizational unit you created in the previous step, use the following series of commands, one to allow the organizational unit to be deleted and the other to actually perform the removal:

Set­ADorganizationalUnit International ­ProtectedFromAccidentalDeletion $False Remove­ADOrganizationalUnit International Unit