How to check and install multiple feature on multiple system

Welcome Forums General PowerShell Q&A How to check and install multiple feature on multiple system

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
1 year, 8 months ago.

  • Author
    Posts
  • #68221

    Participant
    Points: 0
    Rank: Member

    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

  • #68307

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

    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.

The topic ‘How to check and install multiple feature on multiple system’ is closed to new replies.