David Pekmez's Weblog

Unified Communications Blog

Articles reli´s: «:Powershell»

Diagnostic Logging Exchange 2007

Posté par David PEKMEZ le août 17, 2008

 

Ce script vous permettra en quelques clics rapides d’activer ou désactiver le diagnostic level d’Exchange 2007

Source :
http://gsexdev.blogspot.com/2007/01/exchange-2007-diagnostic-logging.html

Téléchargement :
http://msgdev.mvps.org/exdevblog/diaglogv2.zip

Lancez le script et changer rapidement la configuration


David

Publié dans Exchange Server 2007, Powershell, script | Taggé: , , | Laisser un commentaire »

Powershell est lent à démarrer ?

Posté par David PEKMEZ le août 15, 2008

Petite nouvelle qui devrait faire plaisir à pas mal de monde,

Voici le contenu du script Update-GAC.ps1

Set-Alias ngen @(
dir (join-path ${env:\windir} “Microsoft.NET\Framework”) ngen.exe -recurse |
sort -descending lastwritetime
)[0].fullName
[appdomain]::currentdomain.getassemblies() | %{ngen $_.location}

source: http://blogs.msdn.com/powershell/archive/2007/11/08/update-gac-ps1.aspx


Publié dans Powershell | Taggé: | Laisser un commentaire »