Month: May 2018

Useful Powershell commands for Active Directory

> Get-ADComputer -SearchBase "OU=OU1,OU=OU2,OU=OU3,DC=domain,DC=com" -Filter * -Prop erties * | Select -Property Name,Enabled,LastLogonDate | Export-CSV…

Useful PowerShell Commands for Office 365 Administration

Users Get-MsolUser -UserPrincipalName xxxx Groups Get-Group -Identity xxxx Get-DistributionGroup -Identity xxxx Remove-UnifiedGroup -Identity Set-DistributionGroup –Identity…

Delete an object from Azure AD synced from On Premise

Sometimes we need to delete an object from Azure AD which is synced with the…