diff --git a/Start-ExchangeRecipientAdminCenter.ps1 b/Start-ExchangeRecipientAdminCenter.ps1 index 289d387..db7d10a 100644 --- a/Start-ExchangeRecipientAdminCenter.ps1 +++ b/Start-ExchangeRecipientAdminCenter.ps1 @@ -196,13 +196,15 @@ try { # Prepare email address policies list $HTMLROWS = "" - foreach ($Item in (Get-EmailAddressPolicy | Select Name, Priority, RecipientFilter)) { + foreach ($Item in (Get-EmailAddressPolicy | Select Name, Priority, RecipientFilter,EnabledPrimarySMTPAddressTemplate,EnabledEmailAddressTemplates)) { $HTMLROWS += " $($Item.Name) $($Item.Priority) $($Item.RecipientFilter) + $($Item.EnabledPrimarySMTPAddressTemplate) + $($Item.EnabledEmailAddressTemplates) "; } @@ -223,6 +225,7 @@ try { $($Item.Name) $($Item.DomainName) $($Item.DomainType) + $($Item.Default) "; } @@ -341,4 +344,4 @@ finally { $LISTENER.Stop() $LISTENER.Close() "$(Get-Date -Format s) Powershell webserver stopped." -} \ No newline at end of file +}