![]() |
![]() |
|
![]() |
![]() |
|
Software Rat & Tat bei Softwareproblemen |
![]() |
|
Themen-Optionen | Ansicht |
|
![]() |
#1 |
Veteran
![]() |
![]() [05.03.2011 09:00:07.0329] [1] Executing:
$acceptedDomains = @{}; Get-AcceptedDomain | foreach { $domainName = $_.DomainName.ToString(); if ($acceptedDomains.Contains($domainName)) { Write-ExchangeSetupLog -Warning "Duplicate AcceptedDomain found. '$($acceptedDomains[$domainName])' and '$($_.Name)' both reference domain '$domainName'"; } else { $acceptedDomains.Add($domainName, $_.Name); }; }; function getSmtpTemplates ([string]$property) { $input | Select-Object -ExpandProperty $property | Where-Object {$_.PrefixString -eq "SMTP"} | Foreach-Object {$_.AddressTemplateString -replace ".*@", ""}; } function addDomains ([Microsoft.Exchange.Data.Directory.SystemConfigurat ion.AcceptedDomainType]$domainType) { $domain = $null; $input | Where-Object {-not $acceptedDomains.ContainsKey($_)} | Where-Object {[Microsoft.Exchange.Data.SmtpDomainWithSubdomains]::TryParse($_, [ref] $domain)} | Foreach-Object { $name = $domain.ToString(); if ($name.Length -gt 64) { $name = $name.Substring(0, 64) }; if ($acceptedDomains.ContainsValue($name) ) {$name = [System.Guid]::NewGuid().ToString()}; new-AcceptedDomain -Name:$name -DomainName:$domain -DomainType:$domainType; $acceptedDomains[$domain.ToString()] = $name; }; } $emailAddressPolicies = Get-EmailAddressPolicy; $emailAddressPolicies | getSmtpTemplates "NonAuthoritativeDomains" | addDomains "InternalRelay"; $emailAddressPolicies | getSmtpTemplates "EnabledEmailAddressTemplates" | addDomains "Authoritative"; [05.03.2011 09:00:07.0333] [2] Die Active Directory-Sitzungseinstellungen für 'Get-AcceptedDomain' lauten: Vollständige Gesamtstruktur anzeigen: 'True', Konfigurationsdomänencontroller: 'JUPITERII.office.OFFICE.at', Bevorzugter globaler Katalog: 'JUPITERII.office.OFFICE.at', Bevorzugte Domänencontroller: '{ JUPITERII.office.OFFICE.at }' [05.03.2011 09:00:07.0333] [2] Beginning processing Get-AcceptedDomain [05.03.2011 09:00:07.0333] [2] Searching objects of type "AcceptedDomain" with filter "$null", scope "SubTree" under the root "$null". [05.03.2011 09:00:07.0335] [2] Previous operation run on domain controller 'JUPITERII.office.OFFICE.at'. [05.03.2011 09:00:07.0335] [2] Preparing to output objects. The maximum size of the result set is "unlimited". [05.03.2011 09:00:07.0412] [2] Ending processing Get-AcceptedDomain [05.03.2011 09:00:07.0414] [2] Die Active Directory-Sitzungseinstellungen für 'Get-EmailAddressPolicy' lauten: Vollständige Gesamtstruktur anzeigen: 'True', Konfigurationsdomänencontroller: 'JUPITERII.office.OFFICE.at', Bevorzugter globaler Katalog: 'JUPITERII.office.OFFICE.at', Bevorzugte Domänencontroller: '{ JUPITERII.office.OFFICE.at }' [05.03.2011 09:00:07.0414] [2] Beginning processing Get-EmailAddressPolicy [05.03.2011 09:00:07.0419] [2] Searching objects of type "EmailAddressPolicy" with filter "(PolicyOptionListValue Equal System.Byte[])", scope "SubTree" under the root "Recipient Policies". [05.03.2011 09:00:07.0425] [2] Previous operation run on domain controller 'JUPITERII.office.OFFICE.at'. [05.03.2011 09:00:07.0425] [2] Preparing to output objects. The maximum size of the result set is "unlimited". [05.03.2011 09:00:07.0455] [2] [WARNING] The SMTP address template 'SMTP:@OFFICE.at' is invalid because it references a domain that isn't configured as an accepted domain for your organization. [05.03.2011 09:00:07.0455] [2] [WARNING] The SMTP address template 'smtp:@OFFICE.at' is invalid because it references a domain that isn't configured as an accepted domain for your organization. [05.03.2011 09:00:07.0594] [2] [WARNING] The object Default Policy has been corrupted, and it's in an inconsistent state. The following validation errors happened: [05.03.2011 09:00:07.0594] [2] [WARNING] The template "SMTP:@OFFICE.at" cannot appear more than once in e-mail address templates. [05.03.2011 09:00:07.0594] [2] Searching objects of type "EmailAddressPolicy" with filter "(PolicyOptionListValue NotEqual System.Byte[])", scope "SubTree" under the root "Recipient Policies". [05.03.2011 09:00:07.0596] [2] Ending processing Get-EmailAddressPolicy [05.03.2011 09:00:07.0710] [2] Die Active Directory-Sitzungseinstellungen für 'New-AcceptedDomain' lauten: Vollständige Gesamtstruktur anzeigen: 'True', Konfigurationsdomänencontroller: 'JUPITERII.office.OFFICE.at', Bevorzugter globaler Katalog: 'JUPITERII.office.OFFICE.at', Bevorzugte Domänencontroller: '{ JUPITERII.office.OFFICE.at }' [05.03.2011 09:00:07.0710] [2] Beginning processing new-AcceptedDomain -Name:'OFFICE.at' -DomainName:'OFFICE.at' -DomainType:'Authoritative' [05.03.2011 09:00:07.0762] [2] Processing object "OFFICE.at". [05.03.2011 09:00:07.0811] [2] [ERROR] Die Vorlage "SMTP:@OFFICE.at" kann nur einmal in E-Mail-Adressvorlagen angezeigt werden. Eigenschaftenname: [05.03.2011 09:00:08.0029] [2] Ending processing new-AcceptedDomain [05.03.2011 09:00:08.0034] [1] The following 1 error(s) occurred during task execution: [05.03.2011 09:00:08.0035] [1] 0. ErrorRecord: Die Vorlage "SMTP:@OFFICE.at" kann nur einmal in E-Mail-Adressvorlagen angezeigt werden. Eigenschaftenname: [05.03.2011 09:00:08.0035] [1] 0. ErrorRecord: Microsoft.Exchange.Data.DataValidationException: Die Vorlage "SMTP:@OFFICE.at" kann nur einmal in E-Mail-Adressvorlagen angezeigt werden. Eigenschaftenname: bei Microsoft.Exchange.Data.Directory.ADSession.Save(A DObject instanceToSave, IEnumerable`1 properties) bei Microsoft.Exchange.Management.SystemConfigurationT asks.SetAcceptedDomain.DomainEditValidator.HandleN onAuthoritativeDomains(EmailAddressPolicy policy, HashSet`1 domains) bei Microsoft.Exchange.Management.SystemConfigurationT asks.UpdateEmailAddressPolicy.DomainValidator.Vali date(EmailAddressPolicy policy) bei Microsoft.Exchange.Management.SystemConfigurationT asks.SetAcceptedDomain.DomainEditValidator.Validat eAllPolicies() bei Microsoft.Exchange.Management.SystemConfigurationT asks.NewAcceptedDomain.InternalValidate() bei Microsoft.Exchange.Configuration.Tasks.Task.Proces sRecord() [05.03.2011 09:00:08.0036] [1] [ERROR] The following error was generated when "$error.Clear(); $acceptedDomains = @{}; Get-AcceptedDomain | foreach { $domainName = $_.DomainName.ToString(); if ($acceptedDomains.Contains($domainName)) { Write-ExchangeSetupLog -Warning "Duplicate AcceptedDomain found. '$($acceptedDomains[$domainName])' and '$($_.Name)' both reference domain '$domainName'"; } else { $acceptedDomains.Add($domainName, $_.Name); }; }; function getSmtpTemplates ([string]$property) { $input | Select-Object -ExpandProperty $property | Where-Object {$_.PrefixString -eq "SMTP"} | Foreach-Object {$_.AddressTemplateString -replace ".*@", ""}; } function addDomains ([Microsoft.Exchange.Data.Directory.SystemConfigurat ion.AcceptedDomainType]$domainType) { $domain = $null; $input | Where-Object {-not $acceptedDomains.ContainsKey($_)} | Where-Object {[Microsoft.Exchange.Data.SmtpDomainWithSubdomains]::TryParse($_, [ref] $domain)} | Foreach-Object { $name = $domain.ToString(); if ($name.Length -gt 64) { $name = $name.Substring(0, 64) }; if ($acceptedDomains.ContainsValue($name) ) {$name = [System.Guid]::NewGuid().ToString()}; new-AcceptedDomain -Name:$name -DomainName:$domain -DomainType:$domainType; $acceptedDomains[$domain.ToString()] = $name; }; } $emailAddressPolicies = Get-EmailAddressPolicy; $emailAddressPolicies | getSmtpTemplates "NonAuthoritativeDomains" | addDomains "InternalRelay"; $emailAddressPolicies | getSmtpTemplates "EnabledEmailAddressTemplates" | addDomains "Authoritative"; " was run: "Die Vorlage "SMTP:@OFFICE.at" kann nur einmal in E-Mail-Adressvorlagen angezeigt werden. Eigenschaftenname: ". [05.03.2011 09:00:08.0037] [1] [ERROR] Die Vorlage "SMTP:@OFFICE.at" kann nur einmal in E-Mail-Adressvorlagen angezeigt werden. Eigenschaftenname: [05.03.2011 09:00:08.0037] [1] [ERROR-REFERENCE] Id=CommonGlobalConfig___dcee6c5f86f24e85b5fe1e9cef 0b175c Component=EXCHANGE14:\Current\Release\Shared\Datac enter\Setup [05.03.2011 09:00:08.0037] [1] Setup is stopping now because of one or more critical errors. [05.03.2011 09:00:08.0037] [1] Finished executing component tasks. [05.03.2011 09:00:08.0111] [1] Ending processing Install-ExchangeOrganization
____________________________________
Schon frei für alle Netze? - Nein - dann PM |
![]() |
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|