{"id":19504848,"url":"https://github.com/tools4everbv/helloid-task-sa-target-exchangeonpremises-mailboxupdateattributes","last_synced_at":"2026-06-19T09:32:20.561Z","repository":{"id":198014401,"uuid":"699879128","full_name":"Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes","owner":"Tools4everBV","description":"Exchange On Premises - Mailbox update attributes","archived":false,"fork":false,"pushed_at":"2024-01-15T13:00:13.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-25T22:13:04.728Z","etag":null,"topics":["delegated-form","exchange-on-premises","powershell","product","service-automation","task"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tools4everBV.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-03T14:18:25.000Z","updated_at":"2024-01-09T09:41:41.000Z","dependencies_parsed_at":"2024-01-15T15:05:34.215Z","dependency_job_id":null,"html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-target-exchangeonpremises-mailboxupdateattributes"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tools4everBV","download_url":"https://codeload.github.com/Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34526065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["delegated-form","exchange-on-premises","powershell","product","service-automation","task"],"created_at":"2024-11-10T22:27:26.500Z","updated_at":"2026-06-19T09:32:20.534Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n# HelloID-Task-SA-Target-ExchangeOnPremises-MailboxUpdateAttributes\r\n\r\n## Prerequisites\r\nBefore using this snippet, verify you've met with the following requirements:\r\n- [ ] User defined variables: `$ExchangeAdminUsername`, `$ExchangeAdminPassword` and `$ExchangeConnectionUri` created in your HelloID portal. [See also Custom Variables](https://docs.helloid.com/en/variables/custom-variables.html)\r\n\r\n## Description\r\n\r\nThis code snippet executes the following tasks:\r\n\r\n1. Define a hash table `$formObject`. The keys of the hash table represent the properties of the `Set-Mailbox` cmdlet, while the values represent the values entered in the form.\r\n\r\n\u003e To view an example of the form output, please refer to the JSON code pasted below.\r\n\r\n```json\r\n{\r\n    \"MailboxIdentity\": \"TestShared02\",\r\n    \"MailboxDisplayName\": \"TestShared02\",\r\n    \"CustomAttribute1\": \"Custom01\",\r\n    \"CustomAttribute2\": \"10001\",\r\n    \"CustomAttribute3\": null,\r\n    \"CustomAttribute4\": null,\r\n    \"CustomAttribute5\": null,\r\n    \"CustomAttribute6\": null,\r\n    \"CustomAttribute7\": null\r\n}\r\n```\r\n\r\n\u003e :exclamation: It is important to note that the names of your form fields might differ. Ensure that the `$formObject` hashtable is appropriately adjusted to match your form fields.\r\n\u003e The **MailboxIdentity** (Identity) can hold different values [See the Microsoft Docs page](https://learn.microsoft.com/en-us/powershell/module/exchange/set-mailbox?view=exchange-ps)\r\n\r\n2. Constructs a PowerShell credential object from the supplied administrative username and password\r\n\r\n3. Connects with the credentials to the Exchange on premises environment by means of the `New-PSSession` cmdlet\r\n\r\n4. Calls the `Set-Mailbox` cmdlet to update the mailbox; it updates only the ones with a value. Otherwise, a null value clears the current property.\r\n\r\n5. Disconnects from the Exchange session by means of the `Remove-PSSession` cmdlet","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-mailboxupdateattributes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-mailboxupdateattributes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-mailboxupdateattributes/lists"}