The command you've shown is close, but has a syntax issue.
Or to capture results:
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online -Verbose -Verbose will show you what’s happening per capability. For a clean report after installation $installed = Get-WindowsCapability -Name RSAT* -Online | Where-Object State -eq Installed $installed | Select-Object Name, State Would you like a script that logs each install result to a CSV file as well? The command you've shown is close, but has a syntax issue
But why might it still be “not a good report”? Your command provides no feedback until it finishes or errors. Better approach: The command you've shown is close