Hi
Sorry for the delay to answer. Here is the configuration of my environment:
On Server Core, I install the IIS Server Role using the default options. Same thing for IIS-Full01
On IIS-FULL, I install IIS Server Role and add the role service IIS Management and Scripting tools ( which will install MWA)
Now I want to manage both IIS_FULL01 and IIS-CORE from IIS-FULL using MWA. So here is the code with PowerShell
PS C:\> [System.Reflection.Assembly]::LoadFrom(“C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll”)
PS C:\> $IISFULL01 = [ Microsoft.Web.Administration.ServerManager]::OpenRemote("IIS-FULL01")
PS C:\>$IISFULL01
ApplicationDefaults: Microsoft.Web.Administration.ApplicationDefaults
ApplicationPoolDefaults: Microsoft.Web.Administration.ApplicationPoolDefaults
ApplicationPools: {DefaultAppPool, Classic .NET AppPool,....}
SiteDefaults: Microsoft.Web.Administration.SiteDefaults
SItes: Default Web Site
VirtualDirectoryDefaults: Microsoft.Web.Administration.VirtualDirectoryDefaults
WorkerProcesses: {}
Now if I do the same thing for Server Core:
PS C:\> $IISCORE = [ Microsoft.Web.Administration.ServerManager]::OpenRemote("IIS-CORE")
PS C:\>$IISCORE
ApplicationDefaults:
ApplicationPoolDefaults:
ApplicationPools:
SiteDefaults:
SItes:
VirtualDirectoryDefaults:
WorkerProcesses:
To make sure that I have network connectivity and that the Default Web site exists on Server Core, I execute the following command from IIS-FULL
C:\> WinRS -r:IIS-CORE c:\windows\system32\inetsrv\appcmd.exe list Sites
SITE "Default Web Site"(id:1, bindings:,state:Unknown)
It seems that I can't make MWA working against Server Core.
I appreciate any help you can provide
Thanks in advance
/Dung