updated Get-ProjectItem ps function to work on win7