

"C:\Program Files\Internet Explorer\iexplore. This results in Microsoft Edge automatically logging me in as my Windows account, not the different user account I need.Īs I mentioned before, if I enter the following command using IE 11, it works: Run 'Start-Process PowerShell -Verb RunAs' to open a PowerShell window with Administrator-level access as that different user.Ĭ:\Windows\System32\cmd.exe /c start shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge -private Running PowerShell as a different user than the one logged into Windows. However, I cannot make this work when using Microsoft Edge. C:Program Files (x86)MicrosoftEdgeApplicationmsedge.exe, but thats just on my machine so the follow will show you a way to locate it definitively. I'veīeen following the below process using Microsoft Internet Explorer 11 without issue. Therefore, I'm attempting to run as a different user to perform administrative-actions. It is not practical for me to login to Windows as that separate account. My organization uses separate accounts for elevated privileged actions. Invoke GNU/Linux applications on Windows.Running Microsoft Edge from command line does not seem to work when trying to connect to an SSO-enabled HTTPS site and needing to run as a different user.Invoke Windows applications using a Unix-like command-line shell.Install additional software using your own GNU/Linux distribution package manager.Services: SSHD, MySQL, Apache, lighttpd, MongoDB, PostgreSQL.Languages: NodeJS, Javascript, Python, Ruby, C/C++, C# & F#, Rust, Go, etc.Run Bash shell scripts and GNU/Linux command-line applications including:.Run common command-line tools such as grep, sed, awk, or other ELF-64 binaries.Its main features include multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and custom themes, styles, and configurations. Choose your favorite GNU/Linux distributions from the Microsoft Store. The Windows Terminal is a modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL.You can view the diagram below to see an overall summary of the architecture of this feature. Without Invoke-Expression, a string submitted at the command line is returned (echoed) unchanged'. According to Windows 'The Invoke-Expression cmdlet evaluates or runs a specified string as a command and returns the results of the expression or command. The Windows Subsystem for Linux lets developers run a GNU/Linux environment - including most command-line tools, utilities, and applications - directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup. CBL-Mariner is an internal Linux distribution used traditionally for Microsoft’s cloud infrastructure and edge products and services, and we are now extending its use to support GUI apps inside of WSL. Using Invoke-Expression command in PowerShell.
