Freigeben über


Using DSC to Setup the New SCSM Portal Server

Hooray the new portal is out – you can get it from https://www.microsoft.com/en-us/download/details.aspx?id=49556

The portal server requires some configuration of roles before the setup can be run. Below is a DSC configuration block which you can run to configure the web server pre-requisites.

Configuration PortalWebServer { Node localhost { WindowsFeature WebServer { Ensure="Present" Name="Web-Server" } WindowsFeature NETASP { Ensure="Present" Name="NET-Framework-45-ASPNET" DependsOn = "[WindowsFeature]WebServer" } WindowsFeature WebAuth { Ensure="Present" Name="Web-Windows-Auth" DependsOn = "[WindowsFeature]WebServer" } WindowsFeature BasicAuth { Ensure="Present" Name="Web-Basic-Auth" DependsOn = "[WindowsFeature]WebServer" } WindowsFeature ASP { Ensure="Present" Name="Web-ASP" DependsOn = "[WindowsFeature]WebServer" } WindowsFeature ASPNET { Ensure="Present" Name="Web-ASP-Net" DependsOn = "[WindowsFeature]WebServer" } WindowsFeature ASPNET45 { Ensure="Present" Name="Web-ASP-Net45" DependsOn = "[WindowsFeature]WebServer" } WindowsFeature HTTPAct { Ensure="Present" Name="AS-HTTP-Activation" DependsOn = "[WindowsFeature]WebServer" } } } PortalWebServer Start-DscConfiguration -Path .\PortalWebServer -Verbose -Wait