List services in VMware Cloud Services Platform using PowerShell
A PowerShell Module that provides two functions that interact with the VMware Cloud Services Platform (CSP) REST API. The Get-CSPAccessToken fucntion accepts in a Refresh Token retrieved from CSP and returns API Access Token which can then be used to consume CSP API. The Get-CSPServices function demonstrates the use of the Access Token to retrieve all services for the given use from CSP.
# Eample of the Get-CSPAccessToken function:
> Get-CSPAccessToken -RefreshToken $RefreshToken CSP Auth Token has been successfully retrieved and saved to $env:cspAuthToken
# Eample of the Get-CSPServices function:
> Get-CSPServices VMware Code Stream VMware Cost Insight VMware Kubernetes Engine [Beta] VMware Discovery VMware Service Broker VMware Cloud on AWS VMware Log Intelligence VMware Hybrid Cloud Extension VMware Cloud Assembly VMware Usage Meter Service VMware Network Insight