Make sure code is compatible with .Net Framework 2.0 (with PowerShell 2.0)