Public/Invoke-LaunchLibraryRequest.ps1
|
function Invoke-LaunchLibraryRequest { <# .SYNOPSIS Calls any documented Launch Library 2.3.0 GET endpoint. .DESCRIPTION Use this command when an endpoint-specific command does not expose a query option. Query keys map directly to the OpenAPI query parameter names. #> [CmdletBinding()] param( [Parameter(Mandatory)][ValidatePattern('^/2\.3\.0/')][string]$Path, [hashtable]$Query, [switch]$All, [switch]$Raw ) $uri = Get-LaunchLibraryRequestUri -Path $Path -Query $Query Invoke-LaunchLibraryPagedRequest -Uri $uri -All:$All -Raw:$Raw } |