5 Responses

  1. Using the GET Method with PowerShell and RESTful APIs - Wahl Network

    […] In my last post focused on dealing with RESTful APIs via PowerShell, I went fairly deep into how to construct the required key-value pair for Basic Authentication. This is a common and simple process for providing credentials needed to authenticate against an […]

  2. Sending Data Using PowerShell and RESTful API Methods - Wahl Network

    […] the past few posts in this series, I’ve tackled how to perform basic authentication and use the GET method to pull down data. Now, I’ll dive into some of the methods available […]

  3. Friday Shorts – #TOVMUG, Ravello, Veeam Vanguard, vExpert and more… | mwpreston.net

    […] a bunch of concepts around utilizing PowerShell to connect to RESTful API’s, including Authentication, Processing GET Requests, Sending data with POST/PUT/PATCH, and his latest, creating hashtables for […]

  4. Steve Barry
    Steve Barry at |

    Hey Chris – Thanks for sharing all this info; between this blog and Datanauts you’ve really helped my career.

    I was able to use your guides to automate my storage array using PowerShell and the array’s web API and everything works fine. But the only tricky part now is storing login information for the array in the script, since it doesn’t have Windows authentication. Do you have any guidance for how to best store credentials securely for REST authentication?

  5. How to Establish a Session and Authenticate with the vSphere 6.5 RESTful API - Wahl Network

    […] The first step is to set up a basic auth key-value pair. This is fairly universal across everyone’s RESTful API. For this sample, I’m letting you manually enter the value of $Credential through a modal input, and then deconstructing the username and password into the required format for basic auth. For more on this topic, check out my post entitled Tackling Basic RESTful Authentication with PowerShell. […]

Share your point of view!