Hub Transport Role
Failed
Error:
The following error was generated when "$error.Clear();
$vdirName = "PowerShell (Default Web Site)";
$proxyVdirName = "PowerShell-Proxy (Default Web Site)";
$InternalPowerShellUrl="http://" + $RoleFqdnOrName + "/powershell";
$vdir = get-PowerShellVirtualDirectory -server $RoleFqdnOrName -DomainController $RoleDomainController | where { $_.Name -eq $vdirName };
$proxyVdir = get-PowerShellVirtualDirectory -server $RoleFqdnOrName -DomainController $RoleDomainController | where { $_.Name -eq $proxyVdirName };
if ($vdir -ne $null -or $proxyVdir -ne $null)
{
update-PowerShellVirtualDirectoryVersion -DomainController $RoleDomainController;
}
if ($vdir -eq $null)
{
$vdirName = "PowerShell";
new-PowerShellVirtualDirectory $vdirName -InternalUrl $InternalPowerShellUrl -DomainController $RoleDomainController -BasicAuthentication:$false -WindowsAuthentication:$false -RequireSSL:$false;
}
else
{
Set-PowerShellVirtualDirectory $vdirName -InternalUrl $InternalPowerShellUrl -DomainController $RoleDomainController -WindowsAuthentication:$false -RequireSSL:$false;
}
if ($proxyVdir -eq $null)
{
$proxyVdirName = "PowerShell-Proxy";
new-PowerShellVirtualDirectory $proxyVdirName -DomainController $RoleDomainController -BasicAuthentication:$false -WindowsAuthentication:$true -RequireSSL:$true -AppPoolId "MSExchangePowerShellProxyAppPool"
-Path ($RoleInstallPath + "ClientAccess\PowerShell-Proxy");
}
else
{
Set-PowerShellVirtualDirectory $proxyVdirName -DomainController $RoleDomainController -WindowsAuthentication:$true -RequireSSL:$true;
}
" was run: "The virtual directory 'PowerShell' already exists under 'PRT-EV-CAS.flexenergy.com/Default Web Site'.
Parameter name: VirtualDirectoryName".
The virtual directory 'PowerShell' already exists under 'PRT-EV-CAS.flexenergy.com/Default Web Site'.
Parameter name: VirtualDirectoryName
Elapsed Time: 00:02:25
Client Access Role
Cancelled
Mailbox Role
Cancelled
Management Tools
Cancelled
Finalizing Setup
Cancelled