Command line scripts for AD

Creating an Active Directory Site
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet13.mspx

 

Creating an Active Directory Site Link
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet14.mspx

 

Creating an Active Directory Subnet
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet15.mspx

 

Deleting an Active Directory Subnet
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet16.mspx

 

Listing Active Directory Connections
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet20.mspx

 

Listing Active Directory Sites
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet21.mspx

 

Listing Servers in an Active Directory Site
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet22.mspx

 

Listing the Subnets in all Active Directory Sites
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet24.mspx

 

Listing the Subnets in an Active Directory Site
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet23.mspx

 

Renaming an Active Directory Site
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet26.mspx

 

Retrieving the Domain Controller Site Name
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet17.mspx

 

Retrieving the Site Name for the Local Computer
https://www.microsoft.com/technet/community/scriptcenter/network/scrnet18.mspx