Skip to content

Releases: JosephMcEvoy/PSZoom

Zoom Phone Cmdlets

02 Jan 02:02
fb09953
Compare
Choose a tag to compare

Thanks to @andrew-hoggins!

Generic Phone

Get-ZoomPhoneCallingPlan
Get-ZoomPhoneNumber
Get-ZoomPhoneProvisioingTemplate

Common Area Phone

Add-ZoomPhoneCommonAreaCallingPlan
Add-ZoomPhoneCommonAreaNumber
Get-ZoomPhoneCommonArea
Get-ZoomPhoneCommonAreaSettings
New-ZoomPhoneCommonArea
Remove-ZoomPhoneCommonArea
Remove-ZoomPhoneCommonAreaCallingPlan
Remove-ZoomPhoneCommonAreaNumber
Update-ZoomPhoneCommonArea

Desk Phone

Add-ZoomPhoneDeviceAssignee
Get-ZoomPhoneDevice
Invoke-ZoomPhoneDeviceReboot
New-ZoomPhoneDevice
Remove-ZoomPhoneDevice
Remove-ZoomPhoneDeviceAssignee
Update-ZoomPhoneDevice
Update-ZoomPhoneDeviceProvisioningTemplate

User Phone

Add-ZoomPhoneUserCallingPlan
Add-ZoomPhoneUserNumber
Get-ZoomPhoneUser
Get-ZoomPhoneUserSettings
New-ZoomPhoneUser
Remove-ZoomPhoneUserCallingPlan
Remove-ZoomPhoneUserNumber
Update-ZoomPhoneUser
Update-ZoomPhoneUserCallingPlan
Update-ZoomPhoneUserSettings

Phone Site

Get-ZoomPhoneSiteEmergencyAddress

New-ZoomUser Hotfix

16 Nov 16:25
49bb2fd
Compare
Choose a tag to compare

Fixed issue with New-ZoomUser.

v2.0.4.1

23 Sep 02:48
0ee7979
Compare
Choose a tag to compare

Full Changelog: v2.0.4.0...v2.0.4.1
Fix issue #98.

v2.0.4.0

19 Sep 17:01
b9acb44
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.3.0...v2.0.4.0

v2.0.3.0

19 Mar 16:07
4bc6dd6
Compare
Choose a tag to compare

Store API Key/Secret in module scope variable #54. With the Server-to-Server OAuth token changes, and the $PSZoomToken variable being stored in the Global scope, it is possible for scripts to run over each other (especially if you're doing a long running job) and overwrite the token being used. This change is designed to address this issue.

Fixed not initialized array in Update-ZoomMeeting (#89). $requestBody was not initialized. Updates always failed when the script trying to add items to a null array.

Typo fix for $params SkipHeaderValidation in Invoke-ZoomRestMethod.

v2.0.2.0

25 Nov 16:32
267b153
Compare
Choose a tag to compare
  • Backwards compatibility with PowerShell 5.0 on systems without Internet Explorer (Invoke web request in New-OAuthToken now uses usebasicparsing).
  • Fixes issue with memberid parameter in Add-ZoomGroupMember.

What's Changed

New Contributors

Full Changelog: v2.0.1.0...v2.0.2.0

v2.0.1.0

03 Sep 00:45
01b8105
Compare
Choose a tag to compare

Bug fixes.

PSZoom 2.0

08 Aug 02:04
12ce0ba
Compare
Choose a tag to compare

PSZoom is ending support for JWT. As of PSZoom 2.0 only Server-to-Server OAuth is supported. You can generate the Server-to-Server OAuth key/secret from https://marketplace.zoom.us/develop/create, then click on 'Create' under Server-to-Server OAuth. JWT authorization is supported in versions prior to 2.0. If you are using JWT, you should update your code to support Server-To-Server Oauth. Zoom will be dropping support of JWT in June of 2023.

I have implemented a new cmdlet named Connect-PSZoom. Connect-PSZoom must be run before using any other PSZoom cmdlets. This change means that old scripts will not work with this version. Instead of declaring variables such as ZoomApiKey and ZoomApiSecret, you should be using Connect-PSZoom.

Connect-PSZoom -AccountID 'account_id' -ClientID 'client_id' -ClientSecret 'secret'
Get-ZoomMeeting 123456789

After given an Account ID, Client ID, and Client Secret, Connect-PSZoom will get a token from Zoom then assign it to the global variable $PSZoomToken, which is used by other cmdlets when sending requests to Zoom. The token is good for up to one hour. Another cmdlet will be added later to expire the token ("Disconnect-PSZoom").

You can read more about JWT deprecation at https://marketplace.zoom.us/docs/guides/build/jwt-app/jwt-faq/ and more about a Zoom server-to-server Oauth app at https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/.

PSZoom 1.16.0.0

30 Sep 00:51
291f573
Compare
Choose a tag to compare
Version 1.16 (#58) (#59)

* Create powershell-analysis.yml

* Add charset=utf-8 to the Content-Type header. (#40)

* Add charset=utf-8 to Content-Type header.

* Specify Content-Type as Invoke-ZoomRestMethod instead of New-ZoomHeaders.
Specifying Charset in the `-Headers` parameter of `Invoke-RestMethod` does not seem to have any effect.
We need to specify the `-ContentType` parameter.

* Fix the issue that New-ZoomMeetingPoll not working (#42)

* Change the Questions parameter of New-ZoomMeetingPoll to an array of IDictionary
The previous [string] array format did not follow the Zoom API specification and did not work.

* Split New-ZoomMeetingPollQuestion into a separate file.

* Chang the type of the Questions parameter of Update-ZoomMeetingPoll to IDictionary.
To match with New-ZoomMeetingPoll

* Add tests for New-ZoomMeetingPoll and New-ZoomMeetingPollQuestion

* Update Get-ZoomAccount.ps1

* Modifying cmdlet to be in line with best practices.

* Update Get-ZoomAccount.ps1

* Removing unneeded code.

* Removing unneeded code.

Write-Output should not be used for warnings. Consider verbose usage or error handling in Invoke-ZoomRestMethod.

* Remove unused code.

* Add ZoomAllMeeting and ZoomClougRecordingReport (#43)

* Added more examples.
Removed example that had code that didn't work.
Renamed to Get-ZoomMeetings in order to be me more in line with other cmdlets.
Changed type of $to and $from to datetime. Added some code to convert these to strings before passing to API call.
Fixed some issues with parameter sets.
Removed unused parameter $pagenumber.

* Removed Get-ZoomAllMeetings. Now Get-ZoomMeetings.

* Updated help for Type parameter.

* Update Get-ZoomMeetings.ps1

* Update Get-ZoomMeetings.ps1

* Update Get-ZoomMeetings.ps1

* Added ConvertTo-LoginTypeCode.ps1. Implemented it in cmdlets.

* Update README.md

* Create publishModule.yml

* Update PSZoom.psd1

* Version 1.15 (#47) (#48)

* Create powershell-analysis.yml

* Add charset=utf-8 to the Content-Type header. (#40)

* Add charset=utf-8 to Content-Type header.

* Specify Content-Type as Invoke-ZoomRestMethod instead of New-ZoomHeaders.
Specifying Charset in the `-Headers` parameter of `Invoke-RestMethod` does not seem to have any effect.
We need to specify the `-ContentType` parameter.

* Fix the issue that New-ZoomMeetingPoll not working (#42)

* Change the Questions parameter of New-ZoomMeetingPoll to an array of IDictionary
The previous [string] array format did not follow the Zoom API specification and did not work.

* Split New-ZoomMeetingPollQuestion into a separate file.

* Chang the type of the Questions parameter of Update-ZoomMeetingPoll to IDictionary.
To match with New-ZoomMeetingPoll

* Add tests for New-ZoomMeetingPoll and New-ZoomMeetingPollQuestion

* Update Get-ZoomAccount.ps1

* Modifying cmdlet to be in line with best practices.

* Update Get-ZoomAccount.ps1

* Removing unneeded code.

* Removing unneeded code.

Write-Output should not be used for warnings. Consider verbose usage or error handling in Invoke-ZoomRestMethod.

* Remove unused code.

* Add ZoomAllMeeting and ZoomClougRecordingReport (#43)

* Added more examples.
Removed example that had code that didn't work.
Renamed to Get-ZoomMeetings in order to be me more in line with other cmdlets.
Changed type of $to and $from to datetime. Added some code to convert these to strings before passing to API call.
Fixed some issues with parameter sets.
Removed unused parameter $pagenumber.

* Removed Get-ZoomAllMeetings. Now Get-ZoomMeetings.

* Updated help for Type parameter.

* Update Get-ZoomMeetings.ps1

* Update Get-ZoomMeetings.ps1

* Update Get-ZoomMeetings.ps1

* Added ConvertTo-LoginTypeCode.ps1. Implemented it in cmdlets.

* Update README.md

* Create publishModule.yml

* Update PSZoom.psd1

Co-authored-by: mkht <mkht@users.noreply.github.com>
Co-authored-by: Malpractis <31232305+Malpractis@users.noreply.github.com>

Co-authored-by: mkht <mkht@users.noreply.github.com>
Co-authored-by: Malpractis <31232305+Malpractis@users.noreply.github.com>

* Add feature to recover deleted cloud recordings (#53)

* Add feature to recover deleted cloud recordings

* Sorry for the oversite in the requestbody

* Add new CloudRecording API support (#55)

* Add new CloudRecording API support

Get-ZoomMeetingRecordingsSettings
GET - https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingsettingupdate

Update-ZoomMeetingRecordingsSettings
PATCH - https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingsettingsupdate

* Update Get-ZoomMeetingRecordingsSettings.ps1

Co-authored-by: JosephMcEvoy <joe.maci@gmail.com>

* Added trash option to get cloud recordings API call (#52)

* Update to get-accountrecordings to add trash opt

* Update Get-ZoomAccountRecordings.ps1

Co-authored-by: JosephMcEvoy <joe.maci@gmail.com>

* Delete PSGetModuleInfo.xml

* Join-ZoomPages function add (#50)

* Updated the readme to include join-ZoomPages

* Add join-zoompages function

* Removed example. Modified formatting.

Removed example. Modified formatting of code to be in line with rest of module.

Co-authored-by: JosephMcEvoy <joe.maci@gmail.com>

* Update PSZoom.psd1

Co-authored-by: mkht <mkht@users.noreply.github.com>
Co-authored-by: Malpractis <31232305+Malpractis@users.noreply.github.com>
Co-authored-by: Busted1942 <58774387+Busted1942@users.noreply.github.com>

Co-authored-by: mkht <mkht@users.noreply.github.com>
Co-authored-by: Malpractis <31232305+Malpractis@users.noreply.github.com>
Co-authored-by: Busted1942 <58774387+Busted1942@users.noreply.github.com>

PSZoom 1.15.0.0

03 Sep 01:54
c253939
Compare
Choose a tag to compare
v1.15.0.0

Update PSZoom.psd1