Sida loo soo celiyo sanduuqa boostada ee la tirtiray ee PowerShell
Si kasta oo aad si lama filaan ah u tirtirtay sanduuqa boostada ee qofka sarrifka(Exchange) ah , waxa aad u soo celin kartaa adiga oo isticmaalaya PowerShell ( PoSh ). Furaha ayaa sameynaya isla marka aad ogaato in sanduuqa boostada la tirtiray.
Waa wadne-ku soo booday-cunaha-cunaha-cunahayga markaan ogaanno inaan si kama' ah tan u samaynay. Haddii aad kaliya tirtirtay dhawr fariimo iimaylo ah, waxaanu ku tusi karnaa sidii aad dib ugu soo ceshan lahayd iimaylada la tirtiray ee Office 365 waliba(how to recover deleted emails in Office 365) .
Kahor intaanan bilaabin, ogow in tani loogu talagalay soo celinta sanduuqyada boostada ee la tirtiray ee Sarifka Online(Exchange Online ) ee Xafiiska 365 deegaanka iyo sarrifka 2010(Exchange 2010) . Waxaan sidoo kale u maleyneynaa inaad leedahay xuquuqaha maamul si aad u isticmaasho hababka lagu sifeeyay oo aad samaysay xoogaa qoraal ah oo PowerShell ah(basic PowerShell scripting) .
Maxaa dhacaya marka sanduuqa boostada la tirtiro?(What Happens When a Mailbox Is Deleted?)
Sanduuqa boostada ayaa loo raray midkood Azure Active Directory (AD) bin dib u warshadaynta ee Sarrifka Online(Exchange Online) ama Tusaha sanduuqyada Boostada ee kala go'ay(Disconnected Mailboxes ) ee sarrifka 2010.
Waxaa laga yaabaa inay halkaas ku sii jirto ilaa 30 maalmood iyadoo ku xiran siyaasadaha sii haynta ee jira. Taasi waxay ina siinaysaa muddo nimco ah si aan u garano khaladkeena ugana soo kabsano.
Soo Celinta Sanduuqa Boostada ee La Tirtiray ee Sarrifka Onlaynka ah(Restore a Deleted Mailbox In Exchange Online)
Ku Xidhnow Isweydaarsiga Khadka tooska ah ee PowerShell(Connect To Exchange Online Via PowerShell)
Kalfadhiga maxalliga ah, fur console-ka Powershell oo adeegso amarka soo socda si aad u dejiso aqoonsiga gelitaanka doorsoomiyaha.
$userCredential
Tani waxay sahlaysaa in hadhow lala shaqeeyo qoraallada kale.
$userCredential = get-Credential
Daaqad ayaa furmi doonta halkaas oo aad ka geli karto isticmaalehaaga iyo eraygaaga sirta ah si aad u maamusho Exchange Online .
Marka xigta, deji heerka siyaasadda fulinta si aan dhab ahaantii wax ugu qabanno fadhigayaga. Tani waxay noo ogolaanaysaa inaan socodsiino amaradayada aan saxeexin. Laakiin waxaa laga yaabaa inaad rabto inaad barato dhaqamada ugu wanaagsan ee saxiixida qoraalada PowerShell(best practices for signing PowerShell scripts) sidoo kale.
set-ExecutionPolicy Unrestricted
Marka lagu weydiiyo, taabo Y si aad Haa u noqoto.
Hadda waxaan abuuri doonaa doorsoomiyaha $session si loogu isticmaalo furitaanka xiriirka ka dhexeeya kombuyuutarka maxaliga ah iyo Sarrifka Onlineka(Exchange Online) .
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $userCredential -Authentication Basic -AllowRedirection
Powershell-liveid waa aqoonsiga goobtaada xafiiska(Office) . Caadiyan kani waa nooc ka mid ah magaca shirkaddaada.
Isticmaal amarka soo socda si aad u furto kalfadhiga PoSh ee (PoSh)Sarrifka Onlineka(Exchange Online) :
import-PSSession $Session -DisableNameChecking
Hadda waxaan si toos ah ugala shaqeyneynaa PowerShell Exchange Online , inkastoo aan ku fadhino kumbuyuutarkeena.
Ku soo celi sanduuqa boostada ee la tirtiray ee PowerShell(Restore a Deleted Mailbox With PowerShell)
Qaybta xigta aad bay u fududahay. Samaynta isku xidhka ayaa nagu qaadan doonta waqti dheer.
Waxa kaliya ee aan sameyno waa in aan socodsiino cmdlet-ka hoos ku qoran:
undo-SoftDeletedMailbox [email protected] -WindowsLiveID [email protected] -Password (ConvertTo-SecureString -String 'newpassword' -AsPlainText -Force)
U beddel labada tusaale ee [email protected] magaca sanduuqa boostada ee ku habboon iyo Windows LiveID ee sanduuqa boostada ee aan rabno inaan soo celinno. Ogow in laga yaabo inaysan isku mid ahayn.
Waa inaan sidoo kale u samaynaa furaha sirta ah ee sanduuqa boostada. U beddel erayga sirta(newpassword) ah ee cusub ee qoraalka una beddel eraygaaga sirta ah ee aad dooratay. Waxaad u baahan doontaa inaad taas u gudbiso isticmaalaha oo aad waydiiso inay beddelaan erayga sirta ah marka xigta ee ay soo galaan.
Ugu dambeyntii, isticmaal cmdlet soo socda si aad u hubiso in tani ay shaqeysay.
get-Mailbox [email protected]
Haddii dib loo soo celiyay, cmdlet ayaa soo celin doonta macluumaadka ku saabsan sanduuqa boostada ee la soo celiyay. Haddii ay cilad soo celiso, mar kale mar amarrada oo hubi in sanduuqa boostada ee saxda ah iyo Windows LiveID la isticmaalayo.
Haddii taasi weli shaqayn weydo, markaas waxaan u baahan doonaa inaan ka soo celinno sanduuqa boostada ee nidaamka kaydinta. Waxa jira noocyo badan oo ka mid ah kaydinta nidaamka, markaa taasi way ka baxsan tahay baaxadda waxa aan maanta samaynayno.
Markaan dhammeyno, waa inaan xiraa kulanka PoSh . Tirada kalfadhiyada PoSh ee aanu wadno way xadidan tahay. Ka tagista iyada oo furan waxay isticmaashaa mid ka mid ah fadhiyadaas. Ilaa aynaan xidhin mooyaane, waa inaan sugnaa inta fadhigu dhammaanayo ka hor inta aanan bilaabin mid kale.
remove-PSSession $Session
Waa kaas. Waxaa laga yaabaa inaad xitaa rabto inaad tan ku qorto Module PowerShell(PowerShell Module) si ay u sahlanaato isticmaalka haddii ay mar kale dhacdo.
Soo Celinta Sanduuqa Boostada ee La Tirtiray Isbeddelka 2010(Restore a Deleted Mailbox In Exchange 2010)
Tani uma shaqeyso Office 365 ama bey'ada isku-dhafka ah. Waxa ay u shaqeysaa kaliya Sarrifka 2010(Exchange 2010) ee dhismaha.
Serfarka boostada, ka fur Console Management Exchange(Exchange Management Console ) (EMC).
U soco qaabaynta qaataha(Recipient Configuration ) > Boostada boostada(Disconnected Mailbox) ee go'an . Waa inaan ku aragnaa sanduuqa boostada isticmaalaha.
Haddii aannaan samayn, markaa habka nadiifinta xogta sanduuqa boostada weli ma dhicin. Taasi waa OK, waan ku qasbi karnaa
- Furo Shell Management Exchange(Exchange Management Shell ) ( EMS ) maamule ahaan. Tani waa halka aan ku samayn karno shaqada PowerShell ee u gaarka ah Exchange(Exchange-specific PowerShell) .
- Hadda waxaan galeynaa cmdlet:
Get-MailboxDatabase | Clean-MailboxDatabase
- Marka taas la sameeyo, aan ku noqonno EMC oo ku dhufo midigta sanduuqa boostada ee Disconnected(Disconnected Mailbox) , ka dibna riix Refresh .
- Waa inaan aragnaa sanduuqa boostada hadda, waana, iyo mid kale oo dhowaan la tirtiray.
- Ku noqo EMS oo geli cmdlet:
Connect-Mailbox -Identity "username" -Database "Mailbox Database" -User "username"
- Username waa qofka magaciisa Windows (sida Isticmaalaha Tijaabada(Test User) ) , iyo Boostada Database(Mailbox Database) waa magaca database-ka ku qoran magacooda ee daaqada boostada(Disconnected Mailbox) ee la jaray ee EMC.
- Dib u cusboonaysii sanduuqa boostada(Disconnected Mailbox) ee go'ay oo waa inaad aragto in sanduuqa boostada aan lagu soo bandhigin halkaas. U soco qaabaynta qaataha(Recipient Configuration ) > Sanduuqa boostada(Mailbox ) oo hubi in sanduuqa boostada isticmaaluhu uu jiro.
Hubi si aad u hubiso in dejimaha oo dhan ay sax yihiin, sida ciwaanka iimaylka iyo naanaysta. Haddii ay u muuqato mid wanaagsan, marka xigta uu isticmaaluhu furo Muuqaalkooda(Outlook) , wax walbaa waxay ahaan doonaan sida ay ahayd.
Sanduuqa boostada waa la soo celiyay(Mailbox Restored)
Taasi waa sida loo isticmaalo PowerShell si loo soo celiyo sanduuqyada boostada ee Exchange Online iyo Exchange 2010 . Haddii aad leedahay deegaan isku-dhafan, way ka sii dhib badan tahay laakiin waa la samayn karaa.
Ogaanshaha in cmdlets kala duwan ay jiraan ayaa ku gelinaysa meel wanaagsan oo aad la shaqeyso Sarrifka(Exchange) , iyada oo aan loo eegin nooca ama qaabeynta.
Related posts
Sida loogu soo ceshado iimaylada la tirtiray ee Gmail
Sida PowerShell ee Loop-ku u socodsiin karo amar dhowr jeer ah
Dib-u-eegis Buugaag - Hagaha sida-Geek-ga loo barto ee Windows 8
Ku rakibida GIMP Plugins: Habka-Hagaha
Sida loo soo dejiyo Google Chrome Offline (Standalone) Rakibaye
Demi Koontaroolada Koontada Isticmaalaha (UAC) ee Codsi Gaar ah
Sida loo furo File quful marka barnaamij kale la isticmaalayo
Uninstall iyo reinstall IE gudaha Windows 7
Sida loo digitize DVD-yada
Sida Loo Duuliyo Drone-ka Wadarta Bilowga ah
Sida Loo Bedelo Router-kaaga SSID & Sababta Aad U Baahan Tahay
6 Dejinta kamarada ugu Fiican ee Sawirada Dayaxa
Ku samee Gmail Desktop App leh 3-dan macmiil ee iimaylka ah
Sida Muusiga loogu daro Google Slides
Sida Loo Sameeyo Foomka Dukumentiga Google-ka La Buuxin Karo
Sida Sawirada WEBP loogu beddelo JPG, GIF, ama PNG
Sida loo sameeyo boggaga Master-ka ee Adobe InDesign CC
Sida Loo Sameeyo Imtixaanka Cadaadiska CPU
Sida loo damiyo Furaha Daaqadaha
Sida Loo Ilaaliyo PC-gaaga Daaqadaha Adigoon taaban Jiirka