SharePoint + PowerShell [Cross Posted from Zach Rosenfield's Blog] Today I’m posting about a rather dense technology issue—so please bear with me! Those of you who read my blog know that I am a huge fan of PowerShell and on occasion talk about various ways to use PowerShell for managing SharePoint deployments. Additionally I’ve seen projects and people around the web discuss it. However, it wasn’t until learning about some of the most in-depth inner-workings of PowerShell did an important realization come about.
In short: There was a potential for PowerShell users to constantly leak memory without knowing it!
While this is not a common situation and it would be hard to do so in such large volume to really cause real harm—it is possible, and thus, everyone should know about it....
Microsoft SharePoint Team Blog : SharePoint + PowerShell
/////////////////////////////////////////////////////////////////
PS> $S = New-Object Microsoft.SharePoint.SPSite(“http://sharepoint.microsoft.com/”)
PS> $S.Title
My SharePoint Site
PS> $S.Dispose()
////////////////////////////////////////////////////////////////
.../...
--
P. Erol GIRAUDY
Président du Club MOSS 2007 et MUG.
Vice-Président Club UGO2007
http://clubmoss2007.org/
http://www.mugfrance.fr/
http://www.viadeo.com/fr/profile/pierreerol.giraudy
Aucun commentaire:
Enregistrer un commentaire