Start a new topic

Passwordstate Password Integration

Sorry wasn't sure where to put this.

I've created a script to integrated with Passwordstate for password retrieval. (attached)

It requires use of my PasswordState-management powershell module to use. Details here:

Powershell Gallery Link:

Feel free to use/alter as you like.


Hope it helps.


Hi Daryl,

that is so awesome! Thanks for shareing your script. I've moved it to the toolbox forum here on our support portal.

In general, we do keep those sample scripts on github here:

If you have a github account and if you are familiar with pull requests, feel free to create one with your script.

If not, let us know and we will take care of that.

Thanks agian for your contribution!

No problem. I've sent over the pull request.

Awesome, thank you. We will review it next week and continue the conversation over at github. Thanks again for the contribution!

So I have this working and its fantastic but I was wondering if its possible to group by the folders and organisation that is present in passwordstate, it just gives me a huge list of passwords without any structure (we have ours grouped in folders and password list)

I have modified the code to get it grouped by folder, I had one other thing thats bugging me, when I create the dynamic folder give it a name, add the code and it creates a sub folder named "PasswordState" inside the first folder and that folder is not persistent with its settings if I enable auto refresh for example it fails to update it when I close/Open RoyalTS also the sub folder is slightly frustrating.

Is there any way I can contribute the modified code to group by folder in anyway?

I've updated the code to work with the latest module version and sort by folder.

The pull request should be merged by the royal ts team in the next couple of days.

Until then you can grab it from my fork.

1 person likes this

Great work thanks, I realised what I had done wrong in regards to the sub folder, I pasted the code in myself rather than importing it so all is good now.

I just merged the pull request. Thanks, Daryl. I really appreciate your contribution!

Login or Signup to post a comment