{"id":19144237,"url":"https://github.com/bgelov/export-disabledmailbox","last_synced_at":"2026-06-11T06:30:17.262Z","repository":{"id":174751382,"uuid":"652729903","full_name":"bgelov/Export-DisabledMailbox","owner":"bgelov","description":"Advanced script for export old mailboxes from Microsoft Exchange Server to .pst files","archived":false,"fork":false,"pushed_at":"2023-06-12T20:31:56.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-03T15:46:46.354Z","etag":null,"topics":["disabled-mailbox","exchange","export","export-mailboxes","mailbox","microsoft","microsoft-exchange","microsoft-exchange-export","microsoft-exchange-server","msexchange","server"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bgelov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-12T17:14:53.000Z","updated_at":"2023-06-12T20:32:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0476b2b-06e5-4f29-aa08-85107bad6968","html_url":"https://github.com/bgelov/Export-DisabledMailbox","commit_stats":null,"previous_names":["bgelov/export-disabledmailbox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgelov%2FExport-DisabledMailbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgelov%2FExport-DisabledMailbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgelov%2FExport-DisabledMailbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgelov%2FExport-DisabledMailbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bgelov","download_url":"https://codeload.github.com/bgelov/Export-DisabledMailbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240225019,"owners_count":19767843,"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","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":["disabled-mailbox","exchange","export","export-mailboxes","mailbox","microsoft","microsoft-exchange","microsoft-exchange-export","microsoft-exchange-server","msexchange","server"],"created_at":"2024-11-09T07:34:12.952Z","updated_at":"2026-06-11T06:30:17.153Z","avatar_url":"https://github.com/bgelov.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Export-DisabledMailbox\nAdvanced script for export old mailboxes from Microsoft Exchange Server to .pst files\n\n## Some usefull commands\n```\n# Free space in databases\nGet-MailboxDatabase -status |ft server,name, AvailableNewMailboxSpace -AutoSize\n\n# Remove disabled mailboxes artifacts for DisabledMDB database\nGet-MailboxStatistics -Database DisabledMDB | where {$_.DisconnectReason -eq \"disabled\"} | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState disabled}\n\nGet-MailboxStatistics -Database DisabledMDB | where {$_.DisconnectReason -eq \"Softdeleted\"} | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState disabled}\n\nGet-MailboxDatabase DisabledMDB | foreach {Get-MailboxStatistics -Database $_.identity} | ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgelov%2Fexport-disabledmailbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgelov%2Fexport-disabledmailbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgelov%2Fexport-disabledmailbox/lists"}