Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Invoke-Command to set PSModulePath

$
0
0

This may have something to do with how a Remoting session is spun up. You’re not actually logging on interactively; you’re sending commands to a service. If the service doesn’t have a full environment (and it doesn’t), then there may be problems changing this. I think the preferred way to make the environment variable change is GPO, right now – see http://technet.microsoft.com/en-us/library/cc772047.aspx for an example.


Viewing all articles
Browse latest Browse all 13067

Trending Articles