vendredi 3 juillet 2009

Booster le démarrage de Powershell v1

Update-gac.ps1

Set-Alias ngen (Join-Path ([System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()) ngen.exe)
[AppDomain]::CurrentDomain.GetAssemblies() |
sort {Split-path $_.location -leaf} |
%{
$Name = (Split-Path $_.location -leaf)
if ([System.Runtime.InteropServices.RuntimeEnvironment]::FromGlobalAccessCache($_))
{
Write-Host "Already GACed: $Name"
}else
{
Write-Host -ForegroundColor Yellow "NGENing : $Name"
ngen $_.location | %{"`t$_"}
}
}


SOURCE : http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx


mercredi 17 juin 2009

Sauvegarde de la metabase IIS

iiscnfg /export /f c:\iismetabaseexport.xml /sp / /children

lundi 27 avril 2009

WebDesign 02


How to Spot Quality within Web Design
"Quality is a word that a lot of people like to use when describing their web design services. But what is quality, how do you know if a design is quality or not. Well, I think that there’s quite a few ways to spot quality within web designs. Once you can see just what goes into making a quality web design, you can use the techniques yourself."

vendredi 24 avril 2009

LinksList 31




PowerShell and SharePoint - Bob Mixon
The Power of PowerShell and SharePoint: Enumerating SharePoint Permissions and Active Directory
SharePoint calculated column and jQuery Highlight row
Using Log Parser with SharePoint
How to Create a Silverlight Web Part in ASP.NET for Use in SharePoint Server 2007
"Discover how to develop a basic Microsoft Silverlight Web Part in ASP.NET that hosts a canvas and that can be used with Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0"
Chapter 8: Site Collections and Web Applications (Part 2 of 2)
Best Practices: Common Coding Issues When Using the SharePoint Object Model
"Learn common issues encountered by developers who write custom code by using the SharePoint object model"
Configuring and Deploying Anonymous Publishing Sites for SharePoint Server 2007
"Explore and learn how to address security and performance issues of Microsoft Office SharePoint Server 2007 publishing sites before launching them as Internet-facing publishing sites"
PoshBoard
portail IT open source, gratuit basé sur Dropthings, PowerShell et Silverlight



Ajoutez un super moteur physique à vos applications/jeux Silverlight!
moteur physique et de collision
Windows file server performance optimization - Risque Management
"That covers Windows CIFS and NFS and was tested on 32-bit Windows 2003 (yet I believe W2K8 and 64-bit platforms also can be optimised this way, will test). This comes from the SPEC file server benchmarking results and configuration notes for HP ProLiant DL585 G2 Storage Server "




jeudi 23 avril 2009

PowerShell script run as an administrator


Start-Process "$psHome\powershell.exe" -Verb Runas -ArgumentList '-command "Get-Process"'