Mise à jour Exchange 2010 SP2 Update Rollup 5-V2 KB2785908

Lors d’une mise à jour

image

vous avez l’erreur suivante:
[Error] System.Management.Automation.ParseException: At C:\Program Files\Microsoft\Exchange Server\V14\Scripts\ManageScheduledTask.ps1:462 char:5
+ return $success
+ ~~~~~~~~~~~~~~~
Control cannot leave a finally block.

at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

 

Cette erreur apparait si vous avez le Windows Management 3.0 installé.

Une solution de contournement:
créer un fichier ManageScheduledTask.ps1 vide

Et refaire la mise à jour.

image

image

image 

puis remettre l’ancien fichier

Remote Desktop Profile Cache – Gestion des profils

Pour remplacer Delprof.exe de Microsoft sur Windows 2003 et le fameux delprof2, il existe maintenant une GPO pour limiter la taille globale des profils locaux sur Windows 2008 R2.

Extrait de Technet

If the size of the profile cache exceeds the configured size, Remote Desktop Services deletes the least recently used profiles until the overall cache goes below the quota.

You can configure the maximum size of the roaming user profile cache on an RD Session Host server by applying the Limit the size of the entire roaming user profile cache Group Policy setting. The Group Policy setting is located in Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Profiles. If you enable this policy setting, you must specify a monitoring interval (in minutes) and a maximum size (in gigabytes) for the entire roaming user profile cache. The monitoring interval determines how often the size of the roaming user profile cache is checked.