Releases: JosephMcEvoy/PSZoom
Zoom Phone Cmdlets
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
Fixed issue with New-ZoomUser.
v2.0.4.1
Full Changelog: v2.0.4.0...v2.0.4.1
Fix issue #98.
v2.0.4.0
What's Changed
- Zoomgov Support and Zoom phone Functions by @andrew-hoggins in #92
- Allow existing token to be used in connection by @IdahoVandal in #97
New Contributors
- @andrew-hoggins made their first contribution in #92
Full Changelog: v2.0.3.0...v2.0.4.0
v2.0.3.0
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
- 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
- Update New-OAuthToken.ps1 by @IdahoVandal in #78
- mapped to parameter name not alias by @victormaso in #76
New Contributors
- @IdahoVandal made their first contribution in #78
- @victormaso made their first contribution in #76
Full Changelog: v2.0.1.0...v2.0.2.0
v2.0.1.0
Bug fixes.
PSZoom 2.0
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
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 <[email protected]> Co-authored-by: Malpractis <[email protected]> Co-authored-by: mkht <[email protected]> Co-authored-by: Malpractis <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * Update PSZoom.psd1 Co-authored-by: mkht <[email protected]> Co-authored-by: Malpractis <[email protected]> Co-authored-by: Busted1942 <[email protected]> Co-authored-by: mkht <[email protected]> Co-authored-by: Malpractis <[email protected]> Co-authored-by: Busted1942 <[email protected]>
PSZoom 1.15.0.0
v1.15.0.0 Update PSZoom.psd1