Author Posts

April 21, 2016 at 7:02 am

Just wondering what the best way would be to acquire modules and DSC resources in an environment where downloading via cmdlets (save-module, etc.) is blocked. I use the gallery at home, but the DoD seems to have this blocked, so it isn't accessible to me at work where I need it most.

I know I can get some things from the Technet Script Center (, but given the popularity of the PowerShell Gallery, I doubt people will be keeping the script center up to date.

April 21, 2016 at 7:07 am

I see the PowerShell team has their resources up on GiHub.

April 21, 2016 at 7:14 am

You can set up your own private NuGet server that acts just like the PowerShell Gallery. Most recently, they've set up this repo, though it's in Preview status: . There's an older blog post here as well:

April 21, 2016 at 7:35 am

GitHub isn't the right spot; that's the developer branch of the code, not necessarily the stable release. Dave's right – an internal repo (which will be easy to set up, soon), and you can go out-of-office to acquire content, bring that content in, and load it into your private repo.

April 21, 2016 at 8:55 am

Thanks guys, I have played around with the preview of the private gallery. We were looking at using this for sharing some of internal scripts/modules. Was hoping there might be an option that would not require me to get content off site, but it seems like that might be a dead end.

April 21, 2016 at 9:44 am

Well, thing is, you guys aren't blocking the cmdlets, you're blocking sites, proabbly via your firewall or proxy. So there might be galleries out there that people have set up, which you're not blocking, but only you'd be able to find out what those are, and they'd likely not include the same modules as the main PSGallery.

April 21, 2016 at 11:28 am

Right, web access for all elevated accounts is blocked via proxy. So the cmdlets are a no go, unless the source is internal. Was looking to download certain resources the old school way – via the browser. I can get to, but there doesn't appear to be a conventional download link, and the script center seems to be nearly a year out of date for most things.

I appreciate your help, but it seems that my only real option (as usual) is to download at home and sneaker-net it over.

April 21, 2016 at 11:46 am

What about using a non-elevated account just to do the download, with the destination being some internal repo? I could even see a script, run under non-elev privileges, to "mirror" PSGallery on a weekly basis or whatever.

April 21, 2016 at 12:21 pm

If you just want to download the .nupkg file from using the browser then the link format is as follows

You can then install it using Install-Package, or upload it to an internal repository

April 22, 2016 at 4:59 am

Thanks Henry, that is exactly what I was looking for. That works.