In Powershell sometimes you need to gets or sets an value demonstrating whether the control and all its child controls are shown.
public bool Visible
true if the control and all its child controls are visible; otherwise, false. Remember, the value by default is true
The fallowing example will show and hide button.
$btnuninstall.visible = $True
$btneventedit.Visible = $false
$btnkill.Visible = $False