Adding support to powershell script to support different versions in nuget