tpath = "$env:SystemRoot\system32\inetsrv\microsoft.web.administration.dll"; 형식 추가-경로 $tpath. $sm = Microsoft.Web.Administration.ServerManager ...

$tpath = "$env:SystemRoot\system32\inetsrv\microsoft.web.administration.dll";          형식 추가-경로 $tpath.          $sm = Microsoft.Web.Administration.ServerManager 새 개체입니다.          경우 ($sm.$Null ["Exchange 다시 End"] 사이트-eq)          {            $backEndWebSitePath = [System.IO.Path]::Combine ($RoleInstallPath, "ClientAccess");            $s = $sm.Sites.Add ("Exchange 다시 끝", "http", "*: 81:", $backEndWebSitePath).            $s.ServerAutoStart = $true;            $sb = $s.Bindings;            $b = $sb.Add("*:444:","https").            $sm.CommitChanges().          }