Author Posts

April 7, 2017 at 7:22 am

If we have multiple server and want to install multiple roles and features on each server.
First check , if installed, then display message , already installed
If not, then install the role/feature.

What would be the better way

Using FOrEACH or Taking Powershell session of every server and then do the thing.

If anybody have script, share please

April 7, 2017 at 8:47 pm

I would probably write a script that did this just on the local server, and then use Invoke-Command to have each server run that script.