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。[「Exchange バックエンド」] - eq $null サイト){$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()。}