file = 'MSExchangeSubmission.exe.config'; $fullPath = System.IO.Path]::Combine([System.IO.Path]::Combine($RoleInstallPath, ...

$file = 'MSExchangeSubmission.exe.config';          $fullPath = [System.IO.Path]::Combine([System.IO.Path]::Combine($RoleInstallPath, "bin"), $file);          if (!([System.IO.File]::Exists($fullPath))) { rename-item ($fullPath + ".template") $file; }          set-appconfigvalue -ConfigFileFullPath:$fullPath -Element:configuration/runtime/gcServer -Attribute:enabled -NewValue:false
English
English (United States)
Español (España)
Spanish (Spain)
italiano
Italian
한국어
Korean
Русский
Russian