SimonS
SimonS

Reputation: 1973

expand a property of a code line which is already executed

Is there a way to expand a property of a command that's already been executed?

GUI options

I'd like to see the whole "Feature Result" Property, but can't access it anymore.

Upvotes: 0

Views: 67

Answers (1)

TheMadTechnician
TheMadTechnician

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

Related Questions