Protect what matters β even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
5 years agoCLI supported on PS ISE?
Trying to create some automated scripts using op.exe, but whenever I try to run commands through ISE, the script hangs during the login process. When I use the exact same cmdlet to log into 1Pass via...
Former Member
5 years agoHello @sazquatch,
Thanks for writing in. I'm sorry to hear that you're having difficulty using our command-line tool with PowerShell ISE.
Unfortunately, there are some crucial limitations in ISE, by its nature of being a scripting environment. Key among those is that ISE does not use the same methods to ask users for input as PowerShell running in a terminal. Additionally, since ISE is https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/introducing-the-windows-powershell-ise?view=powershell-7.2, that is not going to change. (I should also mention that ISEβs latest supported version of PowerShell is 2 major versions behind the current PowerShell LTS.)
As a result, we only officially support the 1Password command-line tool in Windows on PowerShell. The tool does largely work in cmd.exe, but that's not where we put any of our development time.
If you like the scripting support that ISE offers, I would encourage you to start using Visual Studio Code with marketplace extensions installed for PowerShell. I think that it's a much nicer scripting experience.