Install oh-my-posh for all Users #3615
Replies: 4 comments 10 replies
-
|
If you execute the script using |
Beta Was this translation helpful? Give feedback.
-
|
thank you, is it possible with the one-liner (Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1')) )? unfortunately Winget is blocked in our company network. And I would not like to download the install script and add it to the source of my project, which would mean that if the install script changes, I would not necessarily know about it. |
Beta Was this translation helpful? Give feedback.
-
|
When I use the following script for installing ohmyposh, logged on as an admin starting Powershell 7. It installs only the x86and not x64 for all users. I have PowerShell 7 (x64) installed. What goes wrong? And next problem is, update / upgrade with winget doesn't work. |
Beta Was this translation helpful? Give feedback.
-
|
@PennyCilin-gmx it's no longer possible to achieve this. I still need to refactor the install script to facilitate this however. We're moving to MSIX which doesn't offer system wide installation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I may be blind, I am trying to install Oh-my-Posh for all users. I do the installation manually in a PowerShell script via PowerShell (manual installation).
The installation works, but only for the admin user under which the script is executed. I have seen that in the Install.ps1 script, a switch is included to perform the installation for all users. But I can't find any info on how to do this.
Beta Was this translation helpful? Give feedback.
All reactions