Reputation: 1973
Is there a way to expand a property of a command that's already been executed?
I'd like to see the whole "Feature Result" Property, but can't access it anymore.
Upvotes: 0
Views: 67
Reputation: 36297
You use the Common Parameter OutVariable
so that you can access the info later.
Get-WindowsFeature Server-GUI-Mgmt-Infra -OutVariable WinFtr | Uninstall-WindowsFeature
$WinFtr.'Feature Result'
Upvotes: 1