Thanks for the replies I have tried both and still do not have the results I am looking for.
Here are the commands I am running I removed the format-list as suggested.
Import-Module servermanager
Add-Windowsfeature Web-Server,web-webserver,web-common-http,web-default-doc,web-static-content,web-health,web-http-logging,web-request-monitor,web-http-tracing,web-stat-compression,web-net-ext,web-net-ext45,web-asp-net,web-asp-net45,web-mgmt-tools,web-mgmt-console,web-mgmt-compat,web-metabase,web-lgcy-mgmt-console,web-lgcy-scripting,web-wmi,web-scripting-tools,web-mgmt-service | write-output > c:\rs_ps\LT_IIS_Features_Installed_Log.txt
This is the output I get …
Success Restart Needed Exit Code Feature Result
True No Success {Application Development, ASP.NET 3.5, ASP…
As suggested I tried the -wrap but had to use format-table instead this outputs a bit more but not all of them. I tried both -auto -wrap and just -wrap
Import-Module servermanager
Add-Windowsfeature Web-Server,web-webserver,web-common-http,web-default-doc,web-static-content,web-health,web-http-logging,web-request-monitor,web-http-tracing,web-stat-compression,web-net-ext,web-net-ext45,web-asp-net,web-asp-net45,web-mgmt-tools,web-mgmt-console,web-mgmt-compat,web-metabase,web-lgcy-mgmt-console,web-lgcy-scripting,web-wmi,web-scripting-tools,web-mgmt-service | Ft * -auto -wrap | write-output > c:\rs_ps\LT_IIS_Features_Installed_Log.txt
This is the output I get…
Success RestartNeeded FeatureResult
True Yes {Application Development, ASP.NET 3.5, ASP.NET 4.5, Common
HTTP Features…}
Overall it is just not a big deal I can live without the full list it would just be nice to know how to do this in case I need to in the future.
thanks again