{"id":19504845,"url":"https://github.com/tools4everbv/helloid-task-sa-target-exchangeonpremises-mailboxremoveemailaddress","last_synced_at":"2025-08-25T07:36:02.698Z","repository":{"id":198115913,"uuid":"700232014","full_name":"Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-MailboxRemoveEmailAddress","owner":"Tools4everBV","description":"Exchange On Premises - Mailbox remove emailaddress","archived":false,"fork":false,"pushed_at":"2024-01-15T13:00:27.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.629Z","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-04T07:48:01.000Z","updated_at":"2024-01-09T09:41:58.000Z","dependencies_parsed_at":"2024-11-10T22:28:49.638Z","dependency_job_id":"c387925a-0287-4a18-baf5-ea7c6f20f4dd","html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-MailboxRemoveEmailAddress","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-target-exchangeonpremises-mailboxremoveemailaddress"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-MailboxRemoveEmailAddress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxRemoveEmailAddress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxRemoveEmailAddress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxRemoveEmailAddress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxRemoveEmailAddress/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-MailboxRemoveEmailAddress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-MailboxRemoveEmailAddress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272024947,"owners_count":24860528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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:25.727Z","updated_at":"2025-08-25T07:36:02.670Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n# HelloID-Task-SA-Target-ExchangeOnPremises-MailboxRemoveEmailAddress\r\n\r\n## Prerequisites\r\nBefore using this snippet, verify you've met with the following requirements:\r\n\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\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    \"MailBoxDisplayName\":  \"TestMailbox\",\r\n    \"MailboxIdentity\":  \"TestMailbox\",\r\n    \"emailAddressesToRemove\":  [\r\n        \"Test@tools.com\",\r\n        \"Test2@tools.com\"\r\n    ]\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** can hold different values [See the Microsoft Docs page](https://learn.microsoft.com/en-us/powershell/module/exchange/set-mailbox?view=exchange-ps#-emailaddresses)\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 removes one or more EmailAddress from a Mailbox\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-mailboxremoveemailaddress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-mailboxremoveemailaddress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-mailboxremoveemailaddress/lists"}