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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,455
Community Members
 
Community Events
185
Community Groups

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
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 28, 2019

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
AUG Leaders

Atlassian Community Events