I believe you can use: msedge.exe" --launch-workspace=$workspaceID The ID is located in the workspace cache file: $env:LOCALAPPDATA\Microsoft\Edge\User Data\Profile #\Workspaces\WorkspacesCache
How to launch Microsoft Edge to a specific Workspace?
How can I launch Microsoft Edge directly to a specific shared Edge Workspace, ie what is the command line switch?
Preferably I would like to launch two workspaces at once; more preferably I would like to launch them on to the last desktop region that they were arranged on.
I use "{msedgelocation} --restore-last-session" currently but it does not restore Workspaces.
Thank you.
I had a go with "--window-workspace" (from this list of Edge command line switches) using the name of the Workspace and separately with an ID I found (from the share URL). I also tried launching the Workspace share URL in the normal way using Explorer, but that didn't work it just opens a blank browser.
2 answers
Sort by: Most helpful
-
-
Raina Zhao - MSFT 2,855 Reputation points Microsoft Vendor
2023-09-12T06:19:35.75+00:00 Hi @Paul Jefferies ,
Currently, it is not supported to directly launch Edge Workspaces using command line. You need to open a workspace from Edge browser.
This command
start msedge --restore-last-session
can launch all closed tabs last time.We recommend that you could submit a feature request to the Dev Team by sending feedback (Press Alt+Shift+I) in Microsoft Edge.
Thanks for your understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Raina Zhao