Cu2 kurulumunda aldığım hata aşağıda belki hatayı düzelterek sorunu aşabilirim.
Bakıp yorumunuzu paylaşırmısınız. teşekkürler.


Error:
The following error was generated when "$error.Clear();
$configFilePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "GenericAppPoolConfigWithGCServerEnabledFalse.conf ig");
$windir = $env:windir;
[System.Array] $appPoolsExcludedFromWorkstationGC = "msexchangerpcproxyapppool","internalexchangeshare dapppool";
$appPools = &"$windir\system32\inetsrv\appcmd.exe" "list" "apppool";
foreach($appPool in $appPools)
{
$startIndex = $appPool.IndexOf('"') + 1;
$numChars = $appPool.SubString($startIndex).IndexOf('"');
$appPoolName = $appPool.SubString($startIndex, $numChars);

# Do not enable Workstation GC for AppPools that Allocate greater than 50MB/s at their peak e.g. MSExchangeRpcProxyAppPool
if($appPoolsExcludedFromWorkstationGC.Contains($ap pPoolName.ToLower()) -ne $true)
{
# We'll set this whether or not the app pool exists. Failures are ignored.
$a= &"$windir\system32\inetsrv\appcmd.exe" "set" "apppool" "$appPoolName" /managedRuntimeLoader:"";
$b= &"$windir\system32\inetsrv\appcmd.exe" "set" "apppool" "$appPoolName" /CLRConfigFile:"$configFilePath";
Write-ExchangeSetupLog -Info ($a + " " + $b)
}
else
{
Write-ExchangeSetupLog -Info "Skipping $appPoolName since it should remain as Server GC";
}
}
" was run: "Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'Message'. Specified method is not supported.".

Error:
The following error was generated when "$error.Clear();
$configFilePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "GenericAppPoolConfigWithGCServerEnabledFalse.conf ig");
$windir = $env:windir;
[System.Array] $appPoolsExcludedFromWorkstationGC = "msexchangerpcproxyapppool","internalexchangeshare dapppool";
$appPools = &"$windir\system32\inetsrv\appcmd.exe" "list" "apppool";
foreach($appPool in $appPools)
{
$startIndex = $appPool.IndexOf('"') + 1;
$numChars = $appPool.SubString($startIndex).IndexOf('"');
$appPoolName = $appPool.SubString($startIndex, $numChars);

# Do not enable Workstation GC for AppPools that Allocate greater than 50MB/s at their peak e.g. MSExchangeRpcProxyAppPool
if($appPoolsExcludedFromWorkstationGC.Contains($ap pPoolName.ToLower()) -ne $true)
{
# We'll set this whether or not the app pool exists. Failures are ignored.
$a= &"$windir\system32\inetsrv\appcmd.exe" "set" "apppool" "$appPoolName" /managedRuntimeLoader:"";
$b= &"$windir\system32\inetsrv\appcmd.exe" "set" "apppool" "$appPoolName" /CLRConfigFile:"$configFilePath";
Write-ExchangeSetupLog -Info ($a + " " + $b)
}
else
{
Write-ExchangeSetupLog -Info "Skipping $appPoolName since it should remain as Server GC";
}
}
" was run: "Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'Message'. Specified method is not supported.".