Few of the articles are posted as Images, Please use Laptop / Computers to go through the articles for best experience. For phone users, switch to Web Version

Please Share with your colleagues if you found these blogs informative. Happy Learning :-)

Moving FSMO Roles via Command line

 Listing all the FSMO roles at once via different ways -
Command 1- net dom query fsmo










Command 2 - Listing Domain Wide FSMO roles


Command 3 - Listing Forest wide FSMO roles








As per all above snaps, we can find out which DC's are holding different FSMO roles.
Our task would be to move Schema & Infrastructure master role from "DDC01" to another DC named "GDC01".

Below command will be used for movement.

Syntax 
Move-ADDirectoryServerOperationMasterRole -Identity "DestinationDC" -OperationMasterRole 'FSMO Roles separated by comma'




  
We can then check again & this time we will see those two roles on another DC.







Syncing / Unsyncing an OU from Azure AD Connect

 Scenario-

I have an OU named "Dummy OU" containing 3 sub OU's. At present all 3 Sub OU's are syncing but as per requirements i have to Unsync  one of the Sub OU named "Dummy Groups".

Solution

First, we will open Azure AD Connect. Connect to Azure AD by providing 'Global Admin' Credentials of your tenant.










Connect to OnPrem AD
















Next would be unselect "Dummy Groups" OU under Domain and OU filtering















We will then proceed & Click on Configure. Incase you don't want to initiate the syn right now, uncheck it.