tpath = "$env:SystemRoot\system32\inetsrv\microsoft.web.administration.dll"; tipo de agregar-ruta de acceso $tpath; $sm = ...

$tpath = "$env:SystemRoot\system32\inetsrv\microsoft.web.administration.dll";          tipo de agregar-ruta de acceso $tpath;          $sm = Microsoft.Web.Administration.ServerManager nuevo objeto;          Si ($sm.Sitios ["Exchange Back End"] - eq $null)          {            $backEndWebSitePath = [System.IO.Path]::Combine ($RoleInstallPath, "ClientAccess");            $s = $sm.Sites.Add ("Exchange Back End", "http", "*: 81:", $backEndWebSitePath);            $s.ServerAutoStart = $true;            $sb = $s.Bindings;            $b = $sb.Add("*:444:","https");            $sm.CommitChanges();          }          Instalación-ExchangeCertificate - WebSiteName "Exchange Back End"-services "IIS" - DomainController $RoleDomainController - InstallInTrustedRootCAIfSelfSigned $true