fullPath = "$RoleBinPath\MSExchangeUM.config";Se (-non ([stringa]:: IsNullOrEmpty($RoleDatacenterUMRoleDataPath))) { Se (! ...

$fullPath = "$RoleBinPath\MSExchangeUM.config";Se (-non ([stringa]:: IsNullOrEmpty($RoleDatacenterUMRoleDataPath)))        {          Se (! (Test-Path-percorso $RoleDatacenterUMRoleDataPath)) {$RoleDatacenterUMRoleDataPath nuovo elemento-directory tipo};          set-appconfigvalue - ConfigFileFullPath: $fullPath-elemento: configuration / appSettings - AppSettingKey: UmDirectory - NewValue: $RoleDatacenterUMRoleDataPath;$umTracePath = [System.IO.Path]::Combine ($RoleDatacenterUMRoleDataPath, "UMLogs");          Se (! (Test-Path-percorso $umTracePath)) {voce di nuovo $umTracePath-directory tipo};          set-appconfigvalue - ConfigFileFullPath: $fullPath-elemento: configuration / appSettings - AppSettingKey: TracePath - NewValue: $umTracePath;$umLogPath = [System.IO.Path]::Combine ($RoleDatacenterUMRoleDataPath, "Registro");          Se (! (Test-Path-percorso $umLogPath)) {voce di nuovo $umLogPath-directory tipo};          set-appconfigvalue - ConfigFileFullPath: $fullPath-elemento: configuration / appSettings - AppSettingKey: LogPath - NewValue: $umLogPath;        }Se (-non ([stringa]:: IsNullOrEmpty($RoleDatacenterUMTemporaryStoragePath)))        {          set-appconfigvalue - ConfigFileFullPath: $fullPath-elemento: configuration / appSettings - AppSettingKey: TempPath - NewValue: $RoleDatacenterUMTemporaryStoragePath;        }