The sourceCredential object in Move-MyGetNuGetPackages is not correctly initialized because the ArgumentList passes the wrong variable to the pscredential.
It should be $SourcePassword, however it is $secureSourcePassword which does not exist resulting in a "cannot be null" error message.
The sourceCredential object in Move-MyGetNuGetPackages is not correctly initialized because the ArgumentList passes the wrong variable to the pscredential.
It should be $SourcePassword, however it is $secureSourcePassword which does not exist resulting in a "cannot be null" error message.