Roles and Features

How to install all roles and features of one server on another

Posted by on Jun 13, 2017 in Powershell, Roles and Features | 0 comments

Ever wanted to install all the roles and features that are installed on one server on another server? Easy. Just copy and paste the following command into an elevated powershell on the server where the roles and features are installed. Then copy the output and paste it into an elevated powershell on the other server: Get-WindowsFeature | ? { $_.Installed } | Select Name | ForEach-Object { "Install-WindowsFeature $($_.Name)"...

Read More