Run SPDisposeCheck on all assemblies in a specific directory with PowerShell

How awesome would it be, If you could:

  1. Copy paste all the WSP’s that are installed in your farm into one directory or use the following script to extract all solutions from your farm
    (Get-SPFarm).Solutions | ForEach-Object{$var = (Get-Location).Path + “\” + $_.Name; $_.SolutionFile.SaveAs($var)}
  2. Run a PowerShell script to unpack the content:
  3. Have all the assemblies that are inside the WSP packages checked by SPDisposeCheck:
  4. Create one report by using this script to aggregate all results:

In order to use this script, you need to have SPDisposeCheck installed on your machine, please download the free tool from here.

Write-Host "**************************************************************************************************"
Write-Host "| This script will run the SPDisposeCheck tool on each dll that it finds in a provided directory |"
Write-Host "**************************************************************************************************"

$path = Read-Host "Directory path with the assemblies to check"

$Dir = get-childitem $path -recurse
$List = $Dir | where {$_.extension -eq ".dll"}

$export = $path+"\"+"SPDisposeCheck_$((get-date).toString('yyyyMMdd-hhmmss'))"
$dir = md $export

$List | ForEach-Object {
	Write-Host $ "is beeing checked..."
	$report = $export+"\"+$".spdisposecheck.txt"
	& "C:\Program Files (x86)\Microsoft\SharePoint Dispose Check\SPDisposeCheck.exe" $_.fullname | Out-File $report
Write-Host "The reports are stored in "$export
VN:F [1.9.22_1171]
Rating: 9.8/10 (5 votes cast)
VN:F [1.9.22_1171]
Rating: +5 (from 5 votes)

Community Day 2012 – Knockout.js slides & demo’s

The solution containing the source code of the demo is available at codeplex:

The presentation is available on slideshare:

Thanks again for the interaction and many, many questions!
Not easy for me, but it makes it very interesting :)

VN:F [1.9.22_1171]
Rating: 8.8/10 (4 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)

Windows Phone 8 has been announced













Now, what’s new in Windows Phone 8?

First, Windows Phone 8 will have a shared code with Windows 8. This is huge and opens up a whole new world of cross device experiences & capabilities. Not just for the consumers, but as well for developers & HW manufacturers (like a common driver model to give one example).


8 Windows Phone platform improvements:

1.       Latest & greatest hardware

  • Multi-core processor support
  • Bigger, sharper screen resolutions (adding 720p & WXGA)
  • More flexible storage: removable µ-SD card

2.       Internet Explorer 10

  • The same engine as Windows 8: more secure, faster (hardware accelerated) and with advanced anti-phishing features like SmartScreen Filter, etc…)

3.       Cooler apps & games thanks to native code

  • More apps, faster app to market
  • Nicer types of (killer)games
  • Easier to port iOS & Android code

4.       NFC wireless sharing

  • Sharing will just be touching in the near future: imagine photo’s, office docs & contact info by just touching another NFC enabled device

Most complete Wallet experience (illustrated by a testimonial by Yves Maitre of Orange group)

  • Replaces actual wallet with debit & credit cards
  • Fidelity cards, secured Payments, Coupons
  • Most flexible system as security assets are on the SIM
  • Links to 3rd party apps like banking applications

6.       Nokia Map technology built-in (not only for Nokia devices)

  • Offline data – no roaming surprises & better performance
  • More detailed local Navteq data included
  • Turn-by-turn directions

7.       Windows Phone 8 for Business is enterprise-ready

  • Encryption(bitlocker) & secured boot (UEFI)
  • LOB app deployment
  • Device management
  • Familiar Office apps
  • Company hub with installed professional apps, recommended apps, company news, warning messages, etc… (example Microsoft IT to the right)

8.       A brand new start screen (video)

  • More customizable
  • Filling the entire screen (no more black space on the right side)
  • Tile size adjustable down to 1/4th of the actual tile size
VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Download free ebook: Introducing Windows Server 2012

Introducing Windows Server 2012, by Mitch Tulloch, is now ready for free download!
Please see the links below to download one or all of the available formats.


PDF Introducing Windows Server 2012 PDF ebook
EPUB Introducing Windows Server 2012 EPUB ebook
MOBI Introducing Windows Server 2012 MOBI ebook

If you prefer a hard copy of the book, you can order it here for $14.99.

Introducing Windows Server 2012 is 256 pages and includes 5 chapters loaded with insider information from the Windows Server Team.

Table of Contents

Chapter 1 The business need for Windows Server 2012
The rationale behind cloud computing Making the transition
Technical requirements for successful cloud computing
Four ways Windows Server 2012 delivers value for cloud computing Foundation for building your private cloud

Chapter 2 Foundation for building your private cloud
A complete virtualization platform
Increase scalability and performance Business continuity for virtualized workloads

Chapter 3 Highly available, easy-to-manage multi-server platform
Continuous availability
Cost efficiency
Management efficiency

Chapter 4 Deploy web applications on premises and in the cloud
Scalable and elastic web platform
Support for open standards

Chapter 5 Enabling the modern workstyle
Access virtually anywhere, from any device
Full Windows experience
Enhanced security and compliance

To read more about the latest news on Windows Server 2012 and to download the release candidate, go here.

VN:F [1.9.22_1171]
Rating: 9.5/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)