Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agocli2 updating title
Hi
I am trying to get the Title of any item I am using powershell which works well for New items so its not a permissioning thing . Script goes like this after I have successfully logged in using
invoke-Expression to sign in.
$tkn = id the UUID of item
$emi = Title
Title
op item get $tkn --fields $eml
also tried
op item get $tkn Title
3 Replies
- andi_t_1P
1Password Team
Great! Glad I could help!
- Former Member
Thanks worked a treat .
- andi_t_1P
1Password Team
Hi @Corval. You could always try using
op read <secret_reference>for getting specific fields inside an item. In your case, the secret reference for the title would beop://<the_vault_of_the_item>/<the_UUID_of_item>/title. Thenop read op://<the_vault_of_the_item>/$tkn/$emishould do the trick.Hope I could help,
Andi