Techit Tricks

You can download videos of CCNA | Azure | Vmware | AWS | Citrix | HP

Active Directory Administration with Windows PowerShell via Remote Access

Remote Active Directory Administration with Windows PowerShell: 

Windows Server 2008 R2 automatically installs the Active Directory Module for Windows PowerShell and Active Directory Administrative Center when you add the Active Directory Domain Services (AD DS) or Active Directory Lightweight Directory Services (AD LDS) role.
If you want to manage Active Directory from another computer at a remote location, and you can do so with the Active Directory and ADAC, as long as you are running Windows Server 2008 R2 or Windows7 on the remote computer. 

Install Remote Server Administration Tools with the Add Features Wizard:

The Active Directory Module for Windows PowerShell and the ADAC are part of the Remote Server Administration Tools feature, which you can add as a whole or by selecting individual modules. Both modules require you to install the .NET Framework 3.5.1 feature as well, and to install ADAC, you must also install the Active Directory Module for Windows PowerShell and AD DS Snap-Ins and Command-Line Tools features.  

Install Remote Server Administration Tools with Windows PowerShell :

1.First open a Windows PowerShell session with elevated privileges. You can do this by right-clicking the shortcut and selecting Run As Administrator.
   Use the following command to import the ServerManager module.
                    Import-Module ServerManager 

2.Once you have done this, you can install individual features by name using the Add- Windowsfeature cmdlet. To display a list of the Command IDs for all of the roles and features available for installation, use this command.
                         Get-WindowsFeature

3.You can then use the following command to install the Active Directory Module for Windows PowerShell and ADAC features:  
                  Add-WindowsFeature RSAT-AD-PowerShell,RSAT-AD-AdminCenter


Follow the steps to install Remote Server Administration Tools with Servercmd.exe

You can use the same Command IDs to install the features from a standard (non-Windows PowerShell) command prompt, although this method has been deprecated in favor of Windows PowerShell. For this method, you once again must open the command prompt session with elevated privileges. Then execute the following two commands individually:  

                          Servercmd.exe -install RSAT-AD-PowerShell

                        
Servercmd.exe -install RSAT-AD-AdminCenter

Follow the steps to install Remote Server Administration Tools on Windows 7

You can manage your Active Directory resources from a Windows 7 workstation also, but first you must download and install the Remote Server Administration Tools for Windows 7. After you install the package, you must open the Programs Control Panel, select Turn Windows Features On Or Off, and select the appropriate check boxes under Remote Server Administration Tools.  


EmoticonEmoticon