fullPath = "$RoleBinPath\MSExchangeUM.config";Se (-não ([String]:: IsNullOrEmpty($RoleDatacenterUMRoleDataPath))) { Se (! ...

$fullPath = "$RoleBinPath\MSExchangeUM.config";Se (-não ([String]:: IsNullOrEmpty($RoleDatacenterUMRoleDataPath)))        {          Se (! (Test-Path-caminho $RoleDatacenterUMRoleDataPath)) {$RoleDatacenterUMRoleDataPath Novo Item-diretório tipo};          conjunto appconfigvalue - ConfigFileFullPath: $fullPath-elemento: configuração / appSettings - AppSettingKey: UmDirectory - NewValue: $RoleDatacenterUMRoleDataPath;$umTracePath = [System.IO.Path]::Combine ($RoleDatacenterUMRoleDataPath, "UMLogs");          Se (! (Test-Path-caminho $umTracePath)) {Item de novo $umTracePath-diretório de tipo};          conjunto appconfigvalue - ConfigFileFullPath: $fullPath-elemento: configuração / appSettings - AppSettingKey: TracePath - NewValue: $umTracePath;$umLogPath = [System.IO.Path]::Combine ($RoleDatacenterUMRoleDataPath, "Log");          Se (! (Test-Path-caminho $umLogPath)) {Item de novo $umLogPath-diretório de tipo};          conjunto appconfigvalue - ConfigFileFullPath: $fullPath-elemento: configuração / appSettings - AppSettingKey: LogPath - NewValue: $umLogPath;        }Se (-não ([String]:: IsNullOrEmpty($RoleDatacenterUMTemporaryStoragePath)))        {          conjunto appconfigvalue - ConfigFileFullPath: $fullPath-elemento: configuração / appSettings - AppSettingKey: TempPath - NewValue: $RoleDatacenterUMTemporaryStoragePath;        }