install the Windows Server Roles and features for SharePoint Server 2016 (.PS)
Log in to the Target SharePoint Application Server and Right clicking on Windows PowerShell will allow you run as "administrator".
Then paste the below script there and execute it by pressing Enter. This Script will install the Windows Server Roles and features for SharePoint Server 2016. It might need a restart of the server during the installation. Make Sure You Have Inserted the Windows Server media and provide that path end of this Script for the SXS Folder.
Pressing enter will execute the Installation of Features and give it a moment
Once the Green Status disappeared, press enter once and if all went well you will see the Yellow message as below. If there's any red marked errors, it must be due to invalid SXS folder location or the setup could not access it due to permissions.
Type Shutdown -r -t 1 and Press Enter which will restart Your Server via command line
Do not attempt to do anything while it works on features and roles installation during the Restart
The Windows Features and Components installation is completing
Then paste the below script there and execute it by pressing Enter. This Script will install the Windows Server Roles and features for SharePoint Server 2016. It might need a restart of the server during the installation. Make Sure You Have Inserted the Windows Server media and provide that path end of this Script for the SXS Folder.
Import-Module ServerManager Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static- Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web- ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http- Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web- Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web- Metabase,Application-Server,AS-Web-Support,AS-TCP-Port-Sharing,AS-WAS-Support, AS-HTTP-Activation,AS-TCPActivation, AS-Named-Pipes,AS-Net-Framework,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config- APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer –Source D:\sources\sxs
Pressing enter will execute the Installation of Features and give it a moment
Once the Green Status disappeared, press enter once and if all went well you will see the Yellow message as below. If there's any red marked errors, it must be due to invalid SXS folder location or the setup could not access it due to permissions.
Type Shutdown -r -t 1 and Press Enter which will restart Your Server via command line
Do not attempt to do anything while it works on features and roles installation during the Restart
The Windows Features and Components installation is completing
Comments
Post a Comment