office 365 delete messages Search for and delete email messages – Microsoft 365

– Open Windows PowerShell as Admin – Connect to Security & Compliance Center PowerShell $credentials = get-credential; Connect-ExchangeOnline -Credential $credentials $SccSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.compliance.protection.outlook.com/powershell-liveid/ -Credential $credentials -Authentication “Basic” -AllowRedirection; Import-PSSession $SccSession Or Go to https://docs.microsoft.com/en-us/powershell/exchange/connect-to-scc-powershell?view=exchange-ps for more information – Soft-delete messages New-ComplianceSearchAction -SearchName “NameOfTheSearch” -Purge -PurgeType SoftDelete – Hard-delete messages New-ComplianceSearchAction -SearchName…

Changing LDAP Query size limit more than 1000

In PHP, you may get this warning (Warning: ldap_search(): Partial search results returned: Sizelimit exceeded in) when more than 1000 objects returned in single search, you can change using following guide: Open Command Prompt on a domain controller (You must use admin credentials) Type NTDSUTIL and press ENTER. In the ntdsutil: prompt, type ldap policies…

This installation of MySQL is already upgraded to 5.7.29, use –force if you still need to run mysql_upgrade E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem.

This installation of MySQL is already upgraded to 5.7.29, use –force if you still need to run mysql_upgrade E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem. The solution is: 1- Open this file for edit: /var/lib/dpkg/info/mysql-server-5.7.postinst 2- At line # 370, comment the echo ALTER statement which would…

Site Migration Risks (URL Change)

https://support.google.com/webmasters/answer/34437 https://support.google.com/webmasters/topic/6033102?hl=en&ref_topic=6029673 https://support.google.com/webmasters/answer/6033049?hl=en&ref_topic=6033084&visit_id=637156175388140145-3776646314&rd=1 https://www.searchviu.com/en/website-relaunch-seo-checklist/#awareness https://searchengineland.com/site-migration-seo-checklist-dont-lose-traffic-286880 https://www.geekytech.co.uk/website-migration-redesign-seo-checklist/ https://www.searchenginejournal.com/changing-url-structure/325249/#close https://moz.com/community/q/will-changing-a-url-negatively-affect-ranking https://moz.com/blog/should-i-change-my-urls-for-seo

Enable inheritance for Bulk Ad User (Active Directory)

Run below script to enable inheritance for Bulk AD user under specific OU (enable inheritance on all AD user accounts) $ADusers = Get-ADUser -ldapfilter “(objectclass=user)” -searchbase “OU=Students,DC=ukh,DC=edu,DC=krd” ForEach($user in $ADusers) { # Binding the users to DS $ou = [ADSI](“LDAP://” + $user) $sec = $ou.psbase.objectSecurity if ($sec.get_AreAccessRulesProtected()) { $isProtected = $false ## allows inheritance $preserveInheritance…