Move emails from junk

Jon Steel 1 Reputation point
2021-04-12T14:04:05.517+00:00

We have had all emails from a certain sender be delivered to our corporate email account into the JUnk folder - this is some 400 people. Although we've now added the sender as a safe sender, I am looking for a powershell command to run across all users to move the specific email out of Junk into the inbox.

I've found scripts to find and delete, or move from a mailbox to a different mailbox, but not from Junk to Inbox.

Using Office365 - does anyone know of a script to achieve this?

Thanks in advance.

Jon

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,176 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
508 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
{count} votes