We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-ZoomRoomDevices is missing also.
<# .SYNOPSIS Retrieve the ID, Room Name, Device Type, App Version, App Target Version Device System, Status. .DESCRIPTION Retrieve the ID, Room Name, Device Type, App Version, App Target Version Device System, Status. .PARAMETER RoomID The Unique Identifier of the zoom room. This can be retrived from (List-ZoomRooms).id .PARAMETER ApiKey The Api Key. .PARAMETER ApiSecret The Api Secret. .OUTPUTS [ { "id": "3923ZF49-E16E-48C5-8E3D-247406D7F059", "room_name": "My Zoom Room1", "device_type": "Controller", "app_version": "5.1.2 (112.0821)", "device_system": "iPad 13.6.1", "status": "Offline" }, { "id": "o-rZ1K-hTeCpaL7mJN9Ngg-0", "room_name": "My Zoom Room1", "device_type": "Zoom Rooms Computer", "app_version": "5.1.1 (1624.0806)", "app_target_version": "5.1.2 (1697.0821)", "device_system": "Win 10", "status": "Offline" } ] .LINK https://marketplace.zoom.us/docs/api-reference/zoom-api/rooms/listzrdevices .EXAMPLE List-ZoomRoomDevices -RoomID 'V5-1Nno-Sf-gtHn_k-GaRw' #> function Get-ZoomRoomDevices { [CmdletBinding()] param ( # The status of the Zoom Room [Parameter(Mandatory = $True)] [string]$RoomID, [ValidateNotNullOrEmpty()] [string]$ApiKey, [ValidateNotNullOrEmpty()] [string]$ApiSecret ) begin { #Generate Headers and JWT (JSON Web Token) $headers = New-ZoomHeaders -ApiKey $ApiKey -ApiSecret $ApiSecret } process { $request = [System.UriBuilder]"https://api.zoom.us/v2/rooms/$($RoomID)/devices" try { $response = Invoke-RestMethod -Uri $request.Uri -Headers $headers -Method GET } catch { Write-Error -Message "$($_.Exception.Message)" -ErrorId $_.Exception.Code -Category InvalidOperation } Write-Output $response.devices } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Get-ZoomRoomDevices is missing also.
The text was updated successfully, but these errors were encountered: