I'm working with airgapped systems and using PowerShell modules to generate mandatory reporting artifacts. The problem is that we have an offline PowerShell repository set up with OfflinePowerShellGet, but I need to install and update these modules on all computers within the domain. Right now, it's proving to be a challenge since doing it one by one on every machine isn't practical. I'm looking for better methods for distributing these modules so that I can push them from a server instead. Any suggestions would be really appreciated!
2 Answers
One approach is to install the module on a file share and then add that file share location to your PSModulePath environment variable. You can configure this via Group Policy, which should streamline distribution across your network.
Do you have access to admin shares like C$ on the target machines? If so, you might consider using centralized management tools like Azure Arc or MECM. Alternatively, tools like Ansible could help manage the installations if you're open to other automation methods.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures