PS > $PSVersionTable.PSVersion
Major Minor Build Revision
Thanks in advance.
Install-Module was introduced with Powershell v5 if I remember correctly. It, and the other module/package management cmdlets aren't available in PowerShell v4.
You'll need to upgrade at least one machine to PowerShell v5.1. You can download to that machine and copy out to other machines – assuming that the module you want will work with PowerShell v4
No need to upgrade to PoSH v5 for this.
I have it on all my PoSH v4 installs as a default.
But, yep, if you can go to PoSH v5, it's best to do so.
You must be logged in to reply to this topic.