So I have gone through all the support issues and I can’t solve the problem of getting WebAdministrator module to be defaulted into the context of the deployment of a website.
I can import the module just fine in Powershell ide and it will show up in the list, but when I run the get modules in the octopus task script console it doesn’t show up by default. I have changed the tentacle to use an elevated user account that has admin, the machine has the web server role with management script features, I have even tried turning of UAC. But I keep getting:
Import-Module : The specified module ‘WebAdministration’ was not loaded because no valid module file was found in any module directory.
The machine is 2012 R2 with Powershell 4 on it.
I see the module in: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
Any help would be appreciated, thanks!