From 22fbfa17cce44ab1cb87041f5998f8a7ec8a87aa Mon Sep 17 00:00:00 2001 From: tudorh <74240124+tudorh@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:11:10 +0200 Subject: [PATCH 1/2] Update Remove-MailUser.md mention correct name of property - ExternalDirectoryObjectId --- exchange/exchange-ps/exchange/Remove-MailUser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchange/exchange-ps/exchange/Remove-MailUser.md b/exchange/exchange-ps/exchange/Remove-MailUser.md index 1a59beb44e..c7ac3aebc4 100644 --- a/exchange/exchange-ps/exchange/Remove-MailUser.md +++ b/exchange/exchange-ps/exchange/Remove-MailUser.md @@ -157,7 +157,7 @@ The PermanentlyDelete switch immediately and permanently deletes (purges) the ma **Notes**: -- This switch works only on mail users that have already been deleted, but are still recoverable (known as soft-deleted mail-users), that also have a blank value for the ExternalObjectId property. +- This switch works only on mail users that have already been deleted, but are still recoverable (known as soft-deleted mail-users), that also have a blank value for the ExternalDirectoryObjectId property. - Use the Get-MailUser cmdlet to identify the soft-deleted mail user, and then pipe the results to the Remove-MailUser cmdlet with this switch. For example, `Get-MailUser -Identity Laura -SoftDeletedMailUser | Remove-MailUser -PermanentlyDelete`. ```yaml From 64a99546e4675753e2aedc518bbbbf991ef0be75 Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Fri, 20 Dec 2024 13:10:26 -0800 Subject: [PATCH 2/2] Fix typo in Remove-MailUser documentation --- exchange/exchange-ps/exchange/Remove-MailUser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchange/exchange-ps/exchange/Remove-MailUser.md b/exchange/exchange-ps/exchange/Remove-MailUser.md index c7ac3aebc4..022d16da1d 100644 --- a/exchange/exchange-ps/exchange/Remove-MailUser.md +++ b/exchange/exchange-ps/exchange/Remove-MailUser.md @@ -157,7 +157,7 @@ The PermanentlyDelete switch immediately and permanently deletes (purges) the ma **Notes**: -- This switch works only on mail users that have already been deleted, but are still recoverable (known as soft-deleted mail-users), that also have a blank value for the ExternalDirectoryObjectId property. +- This switch works only on mail users that have already been deleted, but are still recoverable (known as soft-deleted mail-users) that also have a blank value for the ExternalDirectoryObjectId property. - Use the Get-MailUser cmdlet to identify the soft-deleted mail user, and then pipe the results to the Remove-MailUser cmdlet with this switch. For example, `Get-MailUser -Identity Laura -SoftDeletedMailUser | Remove-MailUser -PermanentlyDelete`. ```yaml