Posted On March 31, 2019

Manual Sync for Office 365 Azure-AD Integration

kimconnect 0 comments
blog.KimConnect.com >> Codes , Windows >> Manual Sync for Office 365 Azure-AD Integration

1. Perform Prerequisites:


*
a. Install Dot Net Framework 4.5 )
*
b. Install Windows Management Framework 3.0 )
*
c. Download and install Azure AD Connect )
*
e. Enable PowerShell Remoting on the server: Run PowerShell as Administrator with this command: "Enable-PSRemoting -Force"

1.
Run this PowerShell script from a remote machine:

$serverName = serverNameHere
Invoke-Command -computername $serverName -scriptblock { Start-ADSyncSyncCycle -PolicyType Delta } -credential administrator

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How To Automate Youtube Full Screen on Ubuntu Using Python & Selenium

#sudo apt install python3 python3-pip #sudo pip3 install selenium #pip install webdriver-manager # Variables YoutubeUrl="https://www.youtube.com/watch?v=7nT5YawZt-s"…

PowerShell: Check Windows Computers for Specific KB’s

# Check for specific KBs $kbs='KB5010790','KB5010419' $computernames=@('WINDOWS001','WINDOWS002') $regexIP = [regex] "\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b" $names=foreach($computername in $computernames){ if($computername…

How to Install SSL Certificate(s) on Various Web Servers

Public facing websites often become become targets of attacks such as eavesdropping, denial of service,…
Other project: DragonCoin.com