fullPath = "$RoleBinPath\MSExchangeUM.config";Wenn (-nicht ([String]:: IsNullOrEmpty($RoleDatacenterUMRoleDataPath))) { Wenn ...

$fullPath = "$RoleBinPath\MSExchangeUM.config";Wenn (-nicht ([String]:: IsNullOrEmpty($RoleDatacenterUMRoleDataPath)))        {          Wenn (! ()Test-Path-Pfad $RoleDatacenterUMRoleDataPath)) {$RoleDatacenterUMRoleDataPath New-Item-Typ Directory};          Set-Appconfigvalue - ConfigFileFullPath: $fullPath-Element: Configuration / AppSettings - AppSettingKey: UmDirectory - NewValue: $RoleDatacenterUMRoleDataPath;$umTracePath = [System.IO.Path]::Combine ($RoleDatacenterUMRoleDataPath, "UMLogs");          Wenn (! ()Test-Path-Pfad $umTracePath)) {$umTracePath New-Item-Typ Directory};          Set-Appconfigvalue - ConfigFileFullPath: $fullPath-Element: Configuration / AppSettings - AppSettingKey: TracePath - NewValue: $umTracePath;$umLogPath = [System.IO.Path]::Combine ($RoleDatacenterUMRoleDataPath, "Log");          Wenn (! ()Test-Path-Pfad $umLogPath)) {$umLogPath New-Item-Typ Directory};          Set-Appconfigvalue - ConfigFileFullPath: $fullPath-Element: Configuration / AppSettings - AppSettingKey: LogPath - NewValue: $umLogPath;        }Wenn (-nicht ([String]:: IsNullOrEmpty($RoleDatacenterUMTemporaryStoragePath)))        {          Set-Appconfigvalue - ConfigFileFullPath: $fullPath-Element: Configuration / AppSettings - AppSettingKey: Temp - NewValue: $RoleDatacenterUMTemporaryStoragePath;        }