Posts

Showing posts from December, 2014

Get Multiple Users SamAccount from a Security Group of Active Directory using Powershell

Hi..Today will discuss about small powershell command with that we will get multiple user's Samaccount (Accountname/Logonname/Useraccount), other attributes. Open your powershell ( windows 2008 server, R2 etc..) Start -> RUN -> type powershell then type below command to Load the module. Import-Module ActiveDirectory or you can directly open the from Start -> Administrative Tools -> then click on the Active Directory Module for Windows PowerShell  this is will load the Module and Powershell command propmt will open. Now type below command to get the SamAccount of a Sercurity group Get-ADGroupmember -Identity "Distinguished Name of the Group" | export-csv -path c:\users\XXXX\desktop\filename.csv -notypeinfo Example:: domain name is bbntechinfo.com Group name is : DBA Users Ou name is : Health So Distinuguished name of the group is :   "CN=DBA Users,OU=Health,DC=bbntechinfo,DC=com" if you want to see the Distinuguished name of group ...

Repadmin /replicate command to trigger immediate replication

Repadmin /replicate: Monitoring replication is vital part of managing your Active Directory network because many AD issues can be prevented by monitoring replication activity on your network. Windows Server 2008 provides a number of tools that allow problem discovery, diagnosis and resolution. In addition to the directory sere event log available in the Event Viewer, Windows Server 2008 provides several additional monitoring tools that are installed when you add the AD Domain Services role to a 2008 server. The tool discussed here formerly part of the Support Tools available on the Windows Server 2003 CD, but are now supported natively within the Windows Server 2008 operating system. Repadmin: Repadmin is command-line tool used for the following: -Triggers the immediate replication of the specified directory partition to a destination domain controller from a source domain controller. -To view the replication topology from the perspective of each domain controller. This aids...

Triggering Manual Replication in Active Directory

Hi Guys this post let you how to trigger the manual replication in Active Directory… So we all know in Active directory replication is very important without replication data will not be sync throughout the AD environment.  When  you troubleshooting AD replication issue, you may wish to manually force replication between two domain controllers in an attempt to correct any inconsistencies or errors that you have found. You may also wish to force replication to occur when you make changes, such as disabling user accounts that you wish to replicate immediately throughout the enterprise without waiting for the next replication interval.   In this kind of scenario you can Force Manual Replication, below are the steps you can perform so before going force manual replication you should log on to the domain controller or an administrator workstation that has the Active Directory Administrative Tools installed.   Steps: 1.Start---> Run--->  in the Run box...