How Install this site as an app using command line?

Anonymous
2020-08-24T17:02:33+00:00

New Microsoft Edge is very exciting.

How I can install this site as an app by command line using CMD or PowerShell?

* I need to install as an app by input direct url and app name using command line

How?

Thanks in advance.

Microsoft Edge | Other | Windows 10

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Anonymous
    2021-02-09T00:36:23+00:00

    Hi there, 

    I know this was posted quite a while ago but I wanted to provide an answer for you and anyone else who finds this thread via search later! 

    This document describes setting up browser policy to configure a list of force-installed Web Apps - Microsoft Edge Browser Policy Documentation | Microsoft Docs

    The example there should cover the structure you need. If you save your object setup as foo.ps1 and then run Powershell as an Admin and run foo.ps1, the next time you launch Microsoft Edge (Stable) you should be able to go to edge://apps and see them in the list there.

    Hope this helps, let me know if you have any questions!

    -Alex

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-03-04T05:56:24+00:00

    I tried your gpo for your article, it's not working. and searched google for cmd or powershell, all no answer.

    0 comments No comments
  4. Anonymous
    2021-03-04T16:18:30+00:00

    Hey Evan,

    Can you provide some more details on what isn't working from this?

    0 comments No comments
  5. Anonymous
    2021-04-20T17:41:56+00:00

    A couple alternatives to the GPO method (which is really the best option)

    you can use the argument

    --app=http://some.url.com

    This will open the page as an "app" in full screen, but you can't pin it with a custom icon to taskbar or start.

    If you use the msedgeproxy.exe and create a shortcut with that argument, you can set a custom icon on that shortcut and that will persist in your taskbar and start screen pins. So if you don't have a way to manage a gpo, you could create shortcuts and put them in the all users startmenu folder and then use startlayout files to deploy edge based apps for specific sites just as well. 

    The biggest differences between this method and the gpo method, is that the gpo method gets the back and refresh button on the app and it generates an app id that can be used in the start and taskbar layout. The shortcut for msedgeproxy.exe is a bit more plain web app and to use the start layout pins it uses a microsoft autogenerated ID that will stay the same across computers if you always reference it from the same place.

    9 people found this answer helpful.
    0 comments No comments