How to open mail app with powershell

To open the Mail app using PowerShell, you can use the following command:

start mailto:

This will open the default email client on your system, which is usually Microsoft Outlook or Windows Mail.

If you want to open a specific email client, you can specify the path to the executable. For example, to open Microsoft Outlook:

start "C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE"

Replace the path with the actual location of the Outlook executable on your system.

You can also use the start-process cmdlet to open the Mail app:

start-process -FilePath "mailto:" -ArgumentList ""

This will also open the default email client.

Note: The start command is used to start a process, and the mailto: protocol is used to open the default email client. The start-process cmdlet is a more powerful way to start a process, and it allows you to specify additional parameters and arguments.