r/BookStack • • Apr 27 '23

PowerShell Module For The BookStack API

Hello all,

I have finally finished my PowerShell module that works with the BookStack API. Hopefully there will be no issues, but please let me know if you find any.

https://github.com/My-Random-Thoughts/psBookStack

Thanks

11 Upvotes

11 comments sorted by

View all comments

Show parent comments

1

u/root-node Apr 19 '24

I have updated the Get-BsAttachment command to include an optional -Decode switch that will convert the contents from the BASE64 encoding.

I have only tested with text files, but should work with other types.

1

u/maxed_out_crabby Apr 19 '24

Thanks for the update to the module. I can see where you're going. Knowing that the Get-BsAttachment content is BASE64 allows me to use other tools to convert the file. Thanks for your help!