Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

4. Active Directory > Using PowerShell to Deploy Active Directory

Using PowerShell to Deploy Active Directory

The administrative tasks performed in the ADAC can also be handled in PowerShell. While the focus of this book is not to teach PowerShell, it’s a good idea to become familiar with PowerShell to do major management tasks such as deploying AD.

To deploy AD via PowerShell, type the following in the PowerShell console (Figure 4-27):

Install-windowsfeature -name AD-Domain-Services -IncludeManagement Tools

Upon successful execution, the installation begins, as shown in Figure 4-28.

Deploying AD with PowerShell
Figure 4-27. Deploying AD with PowerShell
Installing AD in PowerShell
Figure 4-28. Installing AD in PowerShell

After AD is deployed, a confirmation is displayed, as well as any follow-up action needed for a successful AD deployment.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint