Searching Emails using Power shell

Recently I came across a request to search for all emails sent out by a user that included attachments. I ended up getting that report using a power shell commands. To search for all sent emails with attachments in a mailbox using Power Shell, you can use the `Search-Mailbox` cmdlet available in Exchange Online or... Continue Reading →

Safeguard Your Business with Microsoft 365’s Impersonation Protection

In today's digital landscape, safeguarding your business from cyber threats is more critical than ever. Microsoft 365's Impersonation Protection offers advanced security measures designed to protect your organization from phishing attacks, fraudulent emails, and other impersonation tactics. With features like real-time threat detection, automated alerts, and robust email filtering, Microsoft 365 ensures that your business communications remain secure and your sensitive information stays out of the hands of cybercriminals. Discover how leveraging this powerful tool can provide peace of mind and fortify your business against ever-evolving digital threats.

Script To Get A List Of All Mailboxes Along with All its Email Aliases

Connect to Exchange Online $UserCredential = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://outlook.office365.com/powershell-liveid/ -Authentication Basic -AllowRedirection:$true -Credential $UserCredentialImport-PSSession $Session -DisableNameChecking:$true -AllowClobber:$true | Out-Null Get all Exchange Online users $AllUsers = Get-Mailbox -ResultSize Unlimited Iterate through each user and retrieve email address aliases foreach ($User in $AllUsers) {$UserPrincipalName = $User.UserPrincipalName$PrimarySMTP = $User.PrimarySmtpAddress$EmailAliases = $User.EmailAddresses # Output... Continue Reading →

Create a website or blog at WordPress.com

Up ↑