WebAdministration Module Not Found

I installed the basic version of WebServer 2008 R2, and I'm trying to configure it for remote control from another server in the domain in which I need to import the WebAdministration module. According to the steps presented in this article

http://www.iis.net/learn/install/installing-iis-7/install-and-configure-iis-on-server-core

using the WebAdministration Import module, it gives me the specified module "WebAdministration" was not loaded, because no valid module file was found in any module directory. Line line1 char 14. I ran the command Get-Module -ListAvailable and returned 4 types of modules

BestPractices, BitsTrabsfer, PSDiagnostics and ServeManager

I read other topics about the problem, none of them are consistent and offer a good solution. BTW there is a way to allow the server to download the requested modules from the microsoft repository, if not found. Any agreed proposal to resolve it will be appreciated.

+4
source share
2 answers

Is IIS PowerShell snap-in installed? If not, you can download the 32-bit version or the 64-bit version . After starting MSI (using msiexec / i, since this is the kernel), the snap-in must be registered and can be called through the import module or

& "$env:programfiles\IIS\PowerShellSnapin\iisConsole.psc1"
+3
source

Windows 7 - https://www.microsoft.com/web/downloads/

"" "web", .

-... IIS:

+1

Source: https://habr.com/ru/post/1537790/


All Articles