Windows 10: Starting the Windows Mail app via Powershell

Discus and support Starting the Windows Mail app via Powershell in Windows 10 Customization to solve the problem; Hi,I have a Powershell script that I run at the start of day to trigger my most used applications.I've been using the following command:start... Discussion in 'Windows 10 Customization' started by SteveSherriff, Jun 28, 2021.

  1. Starting the Windows Mail app via Powershell


    Hi,I have a Powershell script that I run at the start of day to trigger my most used applications.I've been using the following command:start "shell:AppsFolder\$Get-StartApps "Your Phone" select -ExpandProperty AppId"Which launches the "Your Phone" app without issue. I have tried to do the same with the Windows 10 email app:start "shell:AppsFolder\$Get-StartApps "Mail" select -ExpandProperty AppId"But I get an errorstart : This command cannot be run due to the error: The system cannot find the file specified. At line:1 ch

    :)
     
    SteveSherriff, Jun 28, 2021
    #1
  2. Brink Win User

    Mail app will not open on 10041.

    Hello Adam,

    This is the suggested solution below if you haven't already tried it. Starting the Windows Mail app via Powershell :)

    In this Windows 10 build 10041, the Mail, Calendar, and People apps may be broken due to a licensing issue with the Store Beta. To get these apps working again, you need to follow these steps:

    • Open powershell as administrator
    • Run the command Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*windowscommunicationsapps*”} | remove-appxprovisionedpackage –online
    • Re-install Mail, People and Calendar from the Store (green tile)
     
    Brink, Jun 28, 2021
    #2
  3. philc43 Win User
    Cannot open mail app settings


    OK, my next suggestion was going to be uninstalling Mail and Calendar and reinstalling from the Windows Store. You can have a go at this by following these steps.

    1. Open the Start menu, type Windows PowerShell.
    2. Right click on the Windows PowerShell and select Run as administrator.
    3. Enter the below command to remove the Mail and calendar app.

    get-appxpackage *microsoft.windowscommunicationsapps* | remove-appxpackage

    After performing the above steps, install the Mail and calendar app from the Windows Store.

    Hope this helps, you will, of course, have to add you accounts back again.
     
    philc43, Jun 28, 2021
    #3
  4. Edwin Win User

    Starting the Windows Mail app via Powershell

    Mail app will not open on 10041.

    Hey Shawn,
    I did that to no avail, then I ran WSReset.exe; now I'm good on all 3, Mail, Calendar and People! *Confused
    Go figure!

    Store Cache - Clear in Windows 8
     
    Edwin, Jun 28, 2021
    #4
Thema:

Starting the Windows Mail app via Powershell

Loading...
  1. Starting the Windows Mail app via Powershell - Similar Threads - Starting Mail app

  2. how to install "simple weather app" via the powershell

    in Windows 10 Gaming
    how to install "simple weather app" via the powershell: Hello,Would someone kindly tell me how to install for all users the simple weather app here using the powershell. Thanks,abpc555 https://answers.microsoft.com/en-us/windows/forum/all/how-to-install-simple-weather-app-via-the/eeb9e42b-92ba-477d-b5e7-2ea91897a953
  3. how to install "simple weather app" via the powershell

    in Windows 10 Software and Apps
    how to install "simple weather app" via the powershell: Hello,Would someone kindly tell me how to install for all users the simple weather app here using the powershell. Thanks,abpc555 https://answers.microsoft.com/en-us/windows/forum/all/how-to-install-simple-weather-app-via-the/eeb9e42b-92ba-477d-b5e7-2ea91897a953
  4. Configure Windows 10 Mail App With Powershell

    in Windows 10 Software and Apps
    Configure Windows 10 Mail App With Powershell: I have many non-domain joined computers running Windows 10 Pro that we use the native Mail application on. Is there a way to scrip the setup of the mailbox via Powershell or the command prompt? We are using Office365 as our email server....
  5. Remove Windows 10 mail app via Powershell in Endpoint

    in Windows 10 Software and Apps
    Remove Windows 10 mail app via Powershell in Endpoint: Hey, I tired this command get-appxpackage *microsoft.windowscommunicationsapps* remove-appxpackage to remove Windows 10 mail app from windows 10 as a test before i upload Powershell in Endpoint for all users. butthe command not working. It didn't give an error but nothing...
  6. cleanmgr.exe via Powershell

    in Windows 10 Support
    cleanmgr.exe via Powershell: Hello, I would like to hear some tips on how to fix the PowerShell script. Generally, it works fine but I want to add something like a timer that I can run a script and it will stop in 15 min anyway! (that the time, when 'clearmgr' usually will complete the task) Why I need...
  7. Please help with installing Store app via Powershell

    in Windows 10 Software and Apps
    Please help with installing Store app via Powershell: I have been trying to download and install Gears of War 4 via the store but it always fails and or never completes downloading the game for me. So I went ahead and used fiddler to download the full game file directly and install it using Powershell method. The file...
  8. Please help with installing Store app via Powershell

    in Windows 10 Support
    Please help with installing Store app via Powershell: I have been trying to download and install Gears of War 4 via the store but it always fails and or never completes downloading the game for me. So I went ahead and used fiddler to download the full game file directly and install it using Powershell method. The file...
  9. Disable Mail app via GPO

    in Browsers and Email
    Disable Mail app via GPO: Hello, In our environment we have the problem that the default association for the mailto: protocol is not consistently set to open Outlook. So many users who click a mailto: link will be presented with the Mail app instead of Outlook. Then they end up logging in their...
  10. Install apps via Powershell cmd line OR via Chocholatey GUI App (easy)

    in Windows 10 Software and Apps
    Install apps via Powershell cmd line OR via Chocholatey GUI App (easy): Despite the abundance of endless text here, it's just my way of being very clear and yes sometimes redundant. The actual 'labor' lol required to install this takes a whopping 1 minute if that. I just provided a tad more info than might be required here instead of just...