is possible to transfer the PowerShell modules from one machine to another machine that doesn't have any connectivity to the internet to get something installed?

Sophs-13 21 Reputation points
2023-08-26T03:12:17.9733333+00:00

Hey folks,

I have a system that has not connectivity to most of the internet hence why I can't download PS modules. So, my question is: Can I just copy the "WindowsPowerShell" folder from a computer that with internet connectivity and paste it on my target computer? would that even work?

Thanks,

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,498 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,596 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.