Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Accessing Confluence By Powershell Scripts

Hello,

Can any one tell me the step by step procedure of accessing confluence using powershell scripts.

and please suggest me best site for learning power shell scripts for confluence.

 

Thanks in Advance 

1 answer

0 votes

Hello Raju,

Accessing Confluence via Powershell will be done over the REST API. This type of interaction will be dependant on what your goal is that you wish to accomplish. Powershell does have built-in REST API calls that will allow you to interact with Confluence, though there may be some issues with authentication or the JSON data at times. More about Powershell’s interaction with REST APIs may be found at Invoke-RestMethod.

Additionally, you may also use curl calls while inside PowerShell. Curl is a bit more forgiving when using methods with a REST API and allows for easier scripting outside of Powershell. More about curl may be found at https://curl.haxx.se/.

Something we would like to understand is what is the goal you’re wanting to achieve with the REST API?

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

What's New in Confluence Cloud – July 2020 Edition

Here’s another edition of “What’s New” this month in Confluence Cloud. Quickly (and more easily) adjust permission settings We know that sometimes the layers of space permissions and page restric...

18,612 views 22 80
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you