The steps are as follows: Unblock the Internet-downloaded NuGet package ( . nupkg ) file, for example using Unblock-File -Path C:\\Downloads\\package. ... Extract the contents of the NuGet package. The . PS1 file in the folder can be used directly from this location. You may delete the NuGet-specific elements in the folder. Nov 17, 2022