Get-Feature | Out-GridView
I think you should be able to pick out the exact features you need from the list that is displayed.
By the way Out-GridView needs a UI to display so you would need to remote desktop to the windows box to run it or send the output to a different Out- ... Cmdlet. From memory there are Out cmdlets to convert to CSV, XML or Json
Hope this helps,
let us know how you get on.
Jon
---
- name: Install Roles and Features
win_feature:
name: "{{ item }}"
state: present
restart: true
include_management_tools: true
with_items: " {{ win_roles }} "
---
win_roles:
- Storage-Services
- Web-WebServer
- Web-Common-Http
- Web-Default-Doc
- Web-Dir-Browsing
- Web-Http-Errors
- Web-Static-Content
- Web-Http-Redirect
- Web-Http-Logging
- Web-Log-Libraries
- Web-ODBC-Logging
- Web-Request-Monitor
- Web-Stat-Compression
- Web-Dyn-Compression
- Web-Filtering
- Web-Basic-Auth
- Web-Client-Auth
- Web-Digest-Auth
- Web-Cert-Auth
- Web-IP-Security
- Web-Url-Auth
- Web-Windows-Auth
- Web-Net-Ext45
- Web-AppInit
- Web-Asp-Net45
- Web-ISAPI-Ext
- Web-ISAPI-Filter
- Web-Mgmt-Console
- Web-Metabase
- Web-Lgcy-Mgmt-Console
- Web-Scripting-Tools
- NET-WCF-HTTP-Activation45
- Telnet-Client
- SMTP-Server
- MSMQ-ServerRegards,Michael