Recently I was trying to install the Powershell ISE SMA Addon on our server that will serve as our development server for our SMA Runbooks. The problem is that the server doesn’t have any internet access.
Normally you could do Install-module -name SMAAuthoringtoolkit and Powershell would go and get it for you, however this doesn’t work without internet, obviously…
However, the other problem is that you can’t simply go to PowershellGallery.com and download the module when you click on how to download you see this:
While its great that we can download modules and scripts straight from Powershell, it would still be helpful to be able to download the module directly.
So here is what you have to do, for now.
Install the module on a machine with internet. Install-module -name SMAAuthoringtoolkit
Once its installed you can run one of two commands to either find the module path or save the module directly
(Get-Module -ListAvailable SMA*).path
save-module -name smaauthoringtoolkit -Path c:temp
Either way, the path is good to have because we’ll use that path to drop it on the server in question. Once we do that, we’ll do Import-module -name SMAAuthoringToolKit
Hi, I’m Billy York. I’m a Cloud and Datacenter Management MVP, specializing in monitoring and automation. Here you’ll find posts about AzureMonitor, LogAnalytics, System Center Operations Manager, Powershell, Hyper-V, Azure Automation, Azure Governance and other Microsoft related technologies.