Professional Documents
Culture Documents
__________________________________________________________________________
<<Full Access>>cloud
-----------------------------------------------------------------------------------
-----------------
(get-MsolUser -UserPrincipalName
armando.marin@marelli.com).Licenses[0].ServiceStatus
-----------------------------------------------------------------------------------
---------------------
-----------------------------------------------------------------------------------
-------------------------------------------------------
Remove access
___________________________________________________________________________________
___________________________________________________
-----------------------------------------------------------------------------------
----------------------------------------------------------
Remove Send as access
___________________________________________________________________________________
_______________________________________________________
<<<<<<<<<<<<<<<<Calendar
___________________________________________________________________________________
__________________________________________________
<<<<OOO( Out Of OFFICE)
-----------------------------------------------------
TO CHECK OOO.
-----------------------------------
$FormatEnumerationLimit=-1
Get-Mailbox -Identity daniel.thierauf@marelli.com | Format-List *audit*
___________________________________________________________________________________
______________________________________________________
AUTOFORWARDING
Set-Mailbox -Identity "Prabakaran.Alagesan-ext@ab-Inbev.com" -
DeliverToMailboxAndForward $true -ForwardingSMTPAddress "hema.jayasheelan-ext@ab-
inbev.com"
----------------------------------------------------------------
TO CHECK Forwarding:
___________________________________________________________________________________
____________________________________
___________________________________________________________________________________
__________________________________
Get-Mailboxpermission Supplier.portal@ab-inbev.com
--------------------------------------------------------
Get-Recipientpermission Supplier.portal@ab-inbev.com
___________________________________________________________________________________
_____________________________________________________
Test-ServiceHealth
Get-mailboxdatabasecopystatus
Get-Queue
___________________________________________________________________________________
___________________________________
Command for auto size.
| ft -autosize
Get-migrationuser user@domain.com
Status
___________________________________________________________
(Get-MsolUser -UserPrincipalName
armando.marin@marelli.com).errors[0].ErrorDetail.objecterrors.errorrecord.ErrorDesc
ription
Get-MsolUser -HasErrorsOnly | ft
UserPrincipalName,@{Name="Error";Expression={($_.errors[0].ErrorDetail.objecterrors
.errorrecord.ErrorDescription)}} -AutoSize
___________________________________________________________________________________
____________________-
<<Bulk SSO access.
$a = get-content $home\desktop\users.txt
foreach ($b in $a)
{
Add-MailboxfolderPermission -identity election2020@nbcuni.com:\calendar -User "$b"
-AccessRights Editor
}
___________________________________________________________________________________
__
Get-AcceptedDomain ab-inbev.com
______________________________________________________________________
___________________________________________________________
<<Command to set mailbox size 0 | User shoud not send and recieve emails
__________________________________________________________________
____________________________________________________________________
______________________________________________________
OR
___________________________________________________________________________________
______________
________________________________________________________________________________
________________________________________________________________________
___________________________________________
________________________________________________________________
___________________________________________________________________
____________________________________________________________
Check the TFAYD object, if its not there, then check if its a linked master
account.
If the linked master account starts with S-1, run the below command
___________________________________________________________________________________
__-
$ID= [GUID]("a9a46634-5afc-440d-a120-3ecfec7988a4")
___________________________________________________________________________________
________________________
Start-MigrationBatch "September_6"
?
Complete-MigrationBatch "September_6"
___________________________________________________________________________________
__
cd d:\adfind
now drag the file adfind and adfind.exe and the command.
Once the excel is generated...open it, in Exchange server abd home DM, select the
column( select the first row and drag the cursor down and press the last ro and now
hold control f and change the field to replace, now except the server name copy the
rest and place it in find filed and in replace filed give a sape and run it.)
once its done save the file and upload in sharepoint link.
___________________________________________________________________________________
_______________
__________________________________________________________________________________-
RE-CONCILE
---- In O365
->Disable-Mailbox 206608074
Confirmation -Yes
->Get-Recipient 206608074
To check whether it exists or not after disable
Drop an email to IDM ,reconcile is done and check with after 3to 4 hours.
Close the ticket.
________________________________________________________________________
Export path:
\\tfayd.com\shared\platform_engineering_ec\us-aoa\share\Messaging
___________________________________________________________________________________
_____
Inbox Rule.
-------------------------------------------
---------------------------------------------------------
-------------------------------------------------------------------------
Remove AllInbox rule
_____________________________________________________________________________
ALLOW DEVICES.
__________________________________________________________
________________________________
Mailboxes ON Server/Database.
________________________________________
QUOTA SET
Set-Mailbox 206552523-j -ProhibitSendQuota 3GB -ProhibitSendReceiveQuota 3.3GB -
IssueWarningQuota 2.9GB -defaultsetting:$false
-----------------------------------------------------------------------------------
--------------
Command to know whats the quota set:
_________________________________________
Command to trace email and to find which folder its getting delivered
_______________________________________________
__________________________________________________
"GPL-OU-DU_Users_Accounts-RestrictPST_V01"
_______________________________________________________
Birthright DL-
APL-Azure_LIC_Office365_E3_Except Exchange
Audi conferencig -
APL-Azure_LIC_Office365_Audio Conferencing
_____________________________________________________
To check soft Deleted Items.
Name RecipientType
LA, T52 (206611008) UserMailbox
___________________________________________________________________________________
_____
______________________________________________________________________
_______________________________________________________________________
___________________________________________________________________________________
____
Mail audit report
Admin login report
Or
Get-MailboxDatabaseCopyStatus potdb*
Get-MailboxDatabaseCopyStatus ashdb*
___________________________________________________________________________________
__________
------Mailbox not migrated with Mailbox GUID not found suring migration-----
Get-Recipient Erin.Lemkey@nbcuni.com
***if the Excahnge and archive Guid matches, check next command.
DirSyncProvisioningErrors : {}
Errors :
IndirectLicenseErrors : {}
Now check the GUID value you received in migration report for the user.
Get-Recipient 625800ff-7eaf-4a7a-9ecb-14a0c27bf30c
The operation couldn't be performed because object '625800ff-7eaf-4a7a-9ecb-
14a0c27bf30c' couldn't be found on
*****this error tells that there is no GUID with this value.
Name RecipientType
---- -------------
Lemkey, Erin (Contractor-NBCUniversal) MailUser
Lemkey, Erin (206655745) MailUser
We could see there are 2 different entries, this why migration failed, so now we
have to check why there are 2 entries.
___________________________________________________________________________________
_______________________________________________
Command to trace Message tracking and to find if this a automaic email or user
sent.
___________________________________________________________________________________
________________________________________
___________________________________________________________________________________
___________________________________
Command to delete the emails with subject line.
___________________________________________________________________________________
_____________________________________________
___________________________________________________________________________________
__________________________________________________________
Restore
Take the exchange GUID of source mailbox(soft deleted) and target mailbox(newly
created)
Get-MailboxRestoreRequest 206657815 | ft
_________________________________________________________-
Mailbox reports :
Office 365:
Get-Mailbox -ResultSize Unlimited | Select-Object
DisplayName,UserPrincipalName,Alias,PrimarySMTPAddress,RecipientTypeDetails,CustomA
ttribute4,CustomAttribute15,Database,RetentionPolicy,ArchiveStatus,ArchiveState,Arc
hiveName,Identity,Name,DistinguishedName,When*,*GUID*,RetentionHoldEnabled,InPlaceH
olds,MaxSendSize,MaxReceiveSize | Export-Csv "Office365AllMailboxes.Csv"
On-Premises:
Get-Mailbox -ResultSize Unlimited | Select-Object
DisplayName,UserPrincipalName,Alias,PrimarySMTPAddress,RecipientTypeDetails,CustomA
ttribute4,CustomAttribute15,LinkedMasterAccount,RetentionPolicy,ArchiveName,Databas
e,ExchangeVersion,WhenMailboxcreated,@{n='Country'; e={(Get-ADUser -identity
$_.Alias -Properties *).co}} | Export-Csv "OnPremisesallMailboxes.Csv"
___________________________________________________________________________________
___________________---
Get-MoveRequestStatistics ukpayroll@nbcuni.com
Resume-MoveRequest ukpayroll@nbcuni.com
___________________________________________________________________________________
___________________________________________
___________________________________________________________________________________
___________________
___________________________________________________________________________________
_______________________________________________________
Searching emails with subject line, the email will directly get exported to your
mailbox:
___________________________________________________________________________________
______________________________
Secure POP Enable:
___________________________________________________________________________________
_____________________________________
___________________________________________________________________________________
______________________________________
___________________________________________________________________________________
_______________________________________________________
___________________________________________________________________________________
_______________________________________________________________
POST Migration --
Set-Mailbox 206662348 -AuditEnabled $true
Set-User -Identity 206662348 -RemotePowerShellEnabled $false
set-mailbox 206662348 -ProhibitSendQuota 10GB -ProhibitSendReceiveQuota 10.5GB -
IssueWarningQuota 9.5GB
Enable-RemoteMailbox 206662348 -Archive ( On on-prem )
Set-Mailbox 206662348 -RetentionPolicy 'GRC Policy 5 Years'
___________________________________________________________________________________
_______________________________________________________________________
The following example command sets the rules quota to the maximum value of 256 KB.
Get-Mailbox *** Email address is removed for privacy *** |FL displayname,
rulesquota
But this shows the current Quota, not the Usage. What I'm looking for, for example
user A. Says user A has hundreds of rules. I want to find out the current size of
his inbox rules, to see if he's exceeding his inbox rule quota or not.
Is it possible?
---------------------------------------
to find deleted user in softdelete
---------------------------------------------------
Check DUMPSTER
-----------------------------------------------------------------------------------
---------------------------------------
Mailbox archive enable
-----------------------------------------------------------------------
hold enbled
------------------------------------------------------------
EURO zone mailbox
--------------------------------
Inbox rule-
remove single rule from user mailbox
---------------------------------------------
APAC report Mailbox all users |extract all APAC user mailboxes
-----------------------------------------------------------------------------------
---------------------------------------------------------------------------
Shard mailbox enabled to store sent items emails
set-mailbox gbs.emea.purchasing.direct@marelli.com -
MessageCopyForSendOnBehalfEnabled $True