Replication commands

Get-ADReplicationPartnerMetadata -Target * -Partition * | Select-Object Server,Partition,Partner,ConsecutiveReplicationFailures,LastReplicationSuccess,LastRepicationResult | Out-GridView

repadmin /showrepl * /csv | ConvertFrom-Csv | Out-GridView
repadmin /showrepl * /csv | ConvertFrom-Csv | ?{$_.'Number Of Failures'}

Nltest /dsgetdc:child

Nltest /dsgetdc:child /kdc

Repadmin /replicate dc1 childdc1 dc=child,dc=root,

dcdiag /s: DC1
dcdiag /test:advertising
dcdiag /test:checksdrefdom
dcdiag /test: dns
dcdiag /test:sysvolcheck
dcdiag /test:ridmanager


advanced audit configuration report

auditpol.exe /get /category:*

auditpol.exe /get /category:”object access”

chkdsk mount volume


chkdsk \\?\Volume{80d0e01f-154c-4053-b958-4aad7c1563ba}

SAN,NAS,iSCSI comparison

Locally LISTENING ports

netstat -a -n -o -p tcp

Find VM machine ID

get-vm | ft VMName, VMId

DCPROMO Debug update

Below is an explanation of the DC* log files:

  1. DCPromoUI.log – Records detailed progress report of user selections and operations.
  2. DCPromo.log – Records summary of critical operations.
  3. DCPromos.log – Records graphical user interface mode setup, this is for upgrades from Windows NT 3.x or Windows NT 4.0 domain controllers to Active Directory Domain controllers.

There is one additional important file that you should also use which is:

  • Netsetup.log – Provides information about the attempts to join domains

Happy logging!

%d bloggers like this: