Zoeken
  • fdezeeuw9

Exchange CU17

[09/17/2020 22:37:33.0022] [2] Processing object "XXXX".

[09/17/2020 22:37:33.0040] [2] Saving object "XXXX" of type "ADOrganizationConfig" and state "Changed".

[09/17/2020 22:37:33.0041] [2] Previous operation run on domain controller 'Server.XXXX.local'.

[09/17/2020 22:37:33.0041] [2] Ending processing Set-OrganizationConfig

[09/17/2020 22:37:33.0043] [1] Executing:

if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicated -ne $true))

{

if (Test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)

{

$sysMbx = $null;

$name = "SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9}";

$dispName = "SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9}";

Write-ExchangeSetupLog -Info ("Retrieving mailboxes with Name=$name.");

$mbxs = @(Get-Mailbox -AuditLog -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1 );

if ($mbxs.Length -eq 0)

{

Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");

$dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);

if ($dbs.Length -ne 0)

{

Write-ExchangeSetupLog -Info ("Retrieving users with Name=$name.");

$auditLogUsers = @(Get-User -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);

if ($auditLogUsers.Length -eq 0)

{

Write-ExchangeSetupLog -Info ("Retrieving audit log users with Name=$name.");

$auditLogUsers = @(Get-User -AuditLog -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);

}

else

{

Write-ExchangeSetupLog -Info ("Found audit log user with Get-User");

}


if ($auditLogUsers.Length -ne 0)

{

Write-ExchangeSetupLog -Info ("Enabling mailbox $name.");

$sysMbx = Enable-Mailbox -AuditLog -Identity $auditLogUsers[0] -DisplayName $dispName -database $dbs[0].Identity;

}

else

{

Write-ExchangeSetupLog -Info ("Found no audit log user with Get-User -AuditLog");

}

}

else

{

Write-ExchangeSetupLog -Info ("Found no database Server:$RoleFqdnOrName, DomainController $RoleDomainController");

}

}

else

{

Write-ExchangeSetupLog -Info ("Found audit log mailbox");

if ($mbxs[0].DisplayName -ne $dispName )

{

Write-ExchangeSetupLog -Info ("Setting DisplayName=$dispName.");

Set-Mailbox -AuditLog -Identity $mbxs[0] -DisplayName $dispName -Force;

}

$sysMbx = $mbxs[0];

}

if ($sysMbx -eq $null)

{

Write-ExchangeSetupLog -Info ("Cannot find audit log mailbox with name=$name.");

}

}

else

{

Write-ExchangeSetupLog -Info "Skipping creating audit log mailbox because of insufficient permission."

}

}

[09/17/2020 22:37:33.0047] [2] Active Directory session settings for 'test-ExchangeServersWriteAccess' are: View Entire Forest: 'True', Configuration Domain Controller: 'Server.XXXX.local', Preferred Global Catalog: 'Server.XXXX.local', Preferred Domain Controllers: '{ Server.XXXX.local }'

[09/17/2020 22:37:33.0047] [2] User specified parameters: -DomainController:'Server.XXXX.local' -ErrorAction:'SilentlyContinue'

[09/17/2020 22:37:33.0043] [1] Executing:

if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicated -ne $true))

{

if (Test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)

{

$sysMbx = $null;

$name = "SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9}";

$dispName = "SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9}";

Write-ExchangeSetupLog -Info ("Retrieving mailboxes with Name=$name.");

$mbxs = @(Get-Mailbox -AuditLog -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1 );

if ($mbxs.Length -eq 0)

{

Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");

$dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);

if ($dbs.Length -ne 0)

{

Write-ExchangeSetupLog -Info ("Retrieving users with Name=$name.");

$auditLogUsers = @(Get-User -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);

if ($auditLogUsers.Length -eq 0)

{

Write-ExchangeSetupLog -Info ("Retrieving audit log users with Name=$name.");

$auditLogUsers = @(Get-User -AuditLog -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);

}

else

{

Write-ExchangeSetupLog -Info ("Found audit log user with Get-User");

}


if ($auditLogUsers.Length -ne 0)

{

Write-ExchangeSetupLog -Info ("Enabling mailbox $name.");

$sysMbx = Enable-Mailbox -AuditLog -Identity $auditLogUsers[0] -DisplayName $dispName -database $dbs[0].Identity;

}

else

{

Write-ExchangeSetupLog -Info ("Found no audit log user with Get-User -AuditLog");

}

}

else

{

Write-ExchangeSetupLog -Info ("Found no database Server:$RoleFqdnOrName, DomainController $RoleDomainController");

}

}

else

{

Write-ExchangeSetupLog -Info ("Found audit log mailbox");

if ($mbxs[0].DisplayName -ne $dispName )

{

Write-ExchangeSetupLog -Info ("Setting DisplayName=$dispName.");

Set-Mailbox -AuditLog -Identity $mbxs[0] -DisplayName $dispName -Force;

}

$sysMbx = $mbxs[0];

}

if ($sysMbx -eq $null)

{

Write-ExchangeSetupLog -Info ("Cannot find audit log mailbox with name=$name.");

}

}

else

{

Write-ExchangeSetupLog -Info "Skipping creating audit log mailbox because of insufficient permission."

}

}

[09/17/2020 22:37:33.0047] [2] Active Directory session settings for 'test-ExchangeServersWriteAccess' are: View Entire Forest: 'True', Configuration Domain Controller: 'Server.XXXX.local', Preferred Global Catalog: 'Server.XXXX.local', Preferred Domain Controllers: '{ Server.XXXX.local }'

[09/17/2020 22:37:33.0047] [2] User specified parameters: -DomainController:'Server.XXXX.local' -ErrorAction:


-------------------------------------------------------------------------------------------------

Solution Rename "SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9}"; to old With Active Directory Users and Computers


Powered by Exchange Expert ( +31383336125 )

20 keer bekeken

Exchange Consultants BV

Burgemeester van Engelenweg 47

8271AL IJsselmuiden

Tel: +31383336124

info@exchangeconsultants.nl

Exchange Consultants BV

Vlotburg weg 3 

1332AE Almere

Tel: +31383336124

info@exchangeconsultants.nl

Exchange expert  / SQL / EDB / Office 365 recovery / encryptie virus herstellen 

Exchange Consultants BV

Groene kruisweg 7

3202ST Spijkernisse

Tel: +31383336124

info@exchangeconsultants.nl

Exchange Expert

Exchange Consultants BV 2020

Exchange Consultant