Author Posts

June 9, 2015 at 10:40 am

Here is my scenario:

Attempting to manage 80 or so servers in a heterogeneous windows environment. I would like to be able to manage these through the use of custom modules, some that are specific to certain servers, others that are used with many of the servers.

What I had originally tried to do was place the modules in a shared UNC. However if I am understanding this correctly you cannot perform a double-hop with credentials when using PSSessions.

What is the best practice in this type of environment? I am trying to use remoting in a practical way and at the same time be able to modify modules from a central repository.

Any feedback is appreciated. Thanks!

June 9, 2015 at 11:31 am

You *can* do a double-hop, but you have to enable that capability. See the CredSSP discussion in "Secrets of PowerShell Remoting."

Right now a file share is probably your best bet. Longer term, PowerShell Package Manager will make it easier to have an in-house repository of modules, which individual nodes could download (and update from) with a single command. So you could have local copies of code, but a central repo for easier maintenance.

June 9, 2015 at 11:55 am

You sir, are the man.

Thanks I'll check this out.