DEV Community

Cover image for Powershell Confluence Scripts
Antonio Di Motta
Antonio Di Motta

Posted on • Edited on

Powershell Confluence Scripts

As a devops sometimes I need to create small scripts to include in my pipelines for managing recurring tasks. To carry out this kind of activity powershell provides great features to develop script quickly.

Lately, I needed to create a Confluence's page as the last task of a pipeline with some information reported on it, so I decided to create a small library for this purpose.

The library needs of a Atlassian api token which is provided by https://id.atlassian.com/manage-profile/security/api-tokens

Here are some examples of using the library.

define env variables
page creation
get page content confluence
update page content confluence

Top comments (0)