Hands on with Windows Server 2008 r2: Admin tools
New PowerShell cmdlets let you manage Active Directory quickly and efficiently
Computerworld - Development on Windows Server 2008 R2 proceeds apace. And in addition to DirectAccess and other features I've already written about, with today's announcement of the newest Windows Server 2008 release candidate there are numerous other important improvements in administrative usability in Windows Server 2008 R2.
I'll take a look at several in this piece, including:
- New PowerShell cmdlets that let you manage Active Directory quickly and efficiently
- A new AD administrative console that exposes the power of those cmdlets to more graphically oriented users
- How to deploy BranchCache, a WAN caching technology, in your Windows 7/Windows Server 2008 environment
Managing Active Directory through PowerShell
PowerShell now comes with an Active Directory Domain Services (AD DS) module that introduces over 75 Active Directory cmdlets. From a script or the new Graphical PowerShell user interface, you can perform routine administrative tasks on your Active Directory forests, domains, trees and so on.
Best of all, the tab-completion function (where Windows thinks about what you're typing and suggests completions for your current context when you hit the Tab key) works as you'd expect and is a useful feature.
Here are some common commands:
- To load the AD DS module, use
Add-Module ActiveDirectory, thenGet-Module - To get information about a domain, use
Get-ADDomain domain_name - To display information about domain controllers in a specific domain, use
Get-ADDomainController -Discover - To browse a specific domain, with results neatly formed in a table, "change directory" into AD via
Cd AD:and then use the following series of commands: - To create a new organizational unit within a domain, use the following command:
- 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:
PWDDIR | Format-Table -Auto
CD "DC=domain_name,DC=TLD"
DIR | ft -a
New-ADOrganizationalUnit Name "International" Path "DC=domain_name,DC=TLD"SetADorganizationalUnit International ProtectedFromAccidentalDeletion $False
RemoveADOrganizationalUnit International Unit
- Google I/O 2013's Coolest Products and Services
- 10 Star Trek Technologies That are Almost Here
- 19 Generations of Computer Programmers
- 25 Must-Have Technologies for SMBs
- A walking tour: 33 questions to ask about your company's security
- 15 social media scams
- The 7 elements of a successful security awareness program
- IT Certification Study Tips
- Register for this Computerworld Insider Study Tip guide and gain access to hundreds of premium content articles, cheat sheets, product reviews and more.
- Software Management: Turning Chaos into Control This paper will help you understand what types of software licensing options exist and how to use software assessment management to prepare for...
- Case Study: Hospital Turns to Email Archiving Solution to Ensure Regulatory Compliances Read this case study to learn how a cloud-based email archiving solution enabled the hospital to meet government mandates and helps avoid thousands...
- Case Study: In-the-Cloud Email Service Replaces Three Point Products Read this case study for more information on a comprehensive in-the-cloud email service to help replace three point products.
- Case Study: Simplifying the Transition to Exchange 2010 with Email Management Solutions Read this case study to learn how a cloud-based email management solution greatly simplified the company's transition to Exchange 2010.
- Software Asset Management During our Software Asset Management webinar you will learn how having asset, configuration and other service management processes together in one system of...
- 3 Reasons Why Sepaton is the World's Fastest Backup Solution Leading analyst, Storage Switzerland learns how Sepaton backs up and deduplicates massive data volumes while maintaining the industry's fastest performance - all in... All NOSes and Server Software White Papers | Webcasts
