Sida loo sii hayo iimaylada la tirtiray muddo dheer gudaha Outlook iyada oo loo marayo Exchange Online

Haddii aad ku haysato email badan oo ku jira akoonkaaga Muuqaalka(Outlook) oo kaliya u baahan inuu tago, waxaad si joogto ah u tirtiri kartaa iyaga. Ka dib waa in loo raro galka, Items > Deletions , halkaasoo lagu hayn doono 14 maalmood. Si kastaba ha noqotee, haddii 14-maalmood aysan ku filneyn, markaa sidee ku saabsan kordhinta ilaa 30-maalmood? Haa, taasi waa suurtogal.

Laga soo bilaabo cinwaanka, way caddahay inaad u baahan doonto inaad lahaato xisaab Microsoft Exchange Online , markaa haddii aad tahay isticmaale guri, markaa fursadaha maqaalkani adiga maaha, laakiin waqti isku mid ah, waxaad sii wadi kartaa inaad wax u akhrido sida ay u kala horreeyaan. si aad wax cusub u barato.

Kahor intaanan horay u socon, waa inaan tilmaannaa inaad isticmaasho Exchange Online PowerShell maadaama, waqtigan, aysan suurtagal ahayn in la sameeyo isbeddelada looga baahan yahay Muuqaalka(Outlook) ama Muuqaalka(Outlook) shabakadda. Waa wax aan caadi ahayn, laakiin waa waxa ay tahay, markaa ilaa Microsoft ay sameyso isbedelo, waa inaan la shaqeynaa waxa la heli karo.

Ku hay iimaylada si joogto ah loo tirtiray muddo dheer gudaha Outlook

Sabab kasta ha ahaatee, waxaa laga yaabaa inaad rabto inaad sii haysato iimaylada la tirtiray in yar, hagahan ayaa kaa caawin doona gaaritaanka hawshaas. Waxaan dabooli doonaa waxyaabaha soo socda:

  1. Dooro ogolaanshaha saxda ah
  2. Ku xidh Windows PowerShell ilaa Online Exchange(Exchange Online)
  3. Ka saar fadhiga fog ee PowerShell

1] Dooro ogolaanshaha saxda ah(1] Select the correct permissions)

Waxa ugu(First) horreeya marka hore, taasina waa in lagu meeleeyo oggolaanshaha macno samaynaysa arrintan gaarka ah. Si aad tan u samayso, waa inaad booqataa docs.microsoft.com oo aad hubisaa qaybta, ogolaanshaha bixinta(Recipient provisioning permissions) qaataha , oo ku qor kan hoos ku qoran serfarka Sarrifka Onlineka .(Exchange Online)

2] Ku xidh Windows PowerShell oo ku beddelka khadka(2] Connect Windows PowerShell to Exchange Online)

Ku hay iimaylada la tirtiray muddo dheer gudaha Outlook

Si arrimuhu u shaqeeyaan, waa inaan marka hore ku xidhidhiyahaaga Sarrifka Onlaynka(Exchange Online) ah ee Windows PowerShell . Waxaan tan ku samayn karnaa annagoo ka soo saarnay PowerShell kombayutarka(PowerShell) deegaankaaga, ka dibna koobiyi oo dheji amarka soo socda:

$UserCredential = Get-Credential

Marka sanduuqa wada-hadalku soo baxo, fadlan ku qor dugsigaaga, ama akoonkaaga shaqada, ka dib eraygaaga sirta ah, oo guji OK. Talaabada xigta, markaa, waa in la koobiyeeyo oo la dhejiyo amar kale, waxayna u socotaa sidan, halkan:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Sidoo kale, socodsii amarkan ka dib markaad sameyso tii hore:

Import-PSSession $Session -DisableNameChecking

3] Ka saar fadhiga fog ee PowerShell(3] Disconnect the remote PowerShell session)

Ka dib waxaas oo dhan la sameeyo, waxaanu soo jeedinaynaa inaan si toos ah loo xidhin Windows PowerShell , laakiin taa beddelkeeda xidhidhkeeda. Waxaad arkaysaa, haddii aad xidho daaqadda, waxaad isticmaali kartaa dhammaan kulammada fog ee PowerShell ee aad diyaar u tahay, waxaadna u baahan doontaa inaad sugto inta fadhiyadu dhacayaan.

Si aad u joojiso casharka, ka dib, koobi oo ku dheji amarka soo socda, ka dibna ku socodsii adiga oo garaacaya furaha Enter :

Remove-PSSession $Session

4] Beddel inta ay si joogto ah u hayaan walxaha la tirtiray(4] Change how long permanently deleted items are kept)

Hadda waa waqtigii la samayn lahaa waxaad halkan u timid inaad sameyso markii hore, markaa fadlan mar kale dab Windows PowerShell , oo ku qor amarka soo socda sanduuqa oo ku dhufo Geli(Enter) :

Set-Mailbox -Identity "Emily Maier" -RetainDeletedItemsFor 30

Maskaxda(Bear) ku hay in amarkan loogu talagalay sanduuq boosto gaar ah. Fadlan(Please) ka saar Emily Maier oo ku beddel magaca sanduuqa boostada ee aad doorbidayso. Intaa waxaa dheer, amarkan ayaa ka dhigi doona taariikhda tirtirka ilaa 30 maalmood.

Wixii ku saabsan samaynta isbeddelada dhammaan sanduuqyada boostada, fadlan nuqul ka samee oo dheji kuwan soo socda:

Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Set-Mailbox -RetainDeletedItemsFor 30

OK, markaa taasi waanu dhammaynay. Haddii aad u baahan tahay macluumaad dheeraad ah booqo Microsoft.com .



About the author

Anigu waxaan ahay windows 10/11/10 xirfadle taageero macaamiisha leh in ka badan 5 sano oo waayo-aragnimo ah. Waxaan sidoo kale ahaa ciyaaryahan aad u firfircoon dhowrkii sano ee la soo dhaafay waxaanan xiiso xoog leh u hayaa xbox One. Diiradayda hadda waa ka caawinta macaamiisha dhibaatooyinka ay ku qabaan nidaamyada Windows 10 ama Windows 11, marar badan iyada oo la adeegsanayo aaladaha adeegga macaamiisha, sida taageerada xarunta wacitaanka iyo caawinta khadka.



Related posts