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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.