Is there a PowerShell equivalent of the vbscript "with" statement? e.g.
With MyLabel
.Height = 2000
.Width = 2000
.Caption = "This is MyLabel"
End With
Is there a PowerShell equivalent of the vbscript "with" statement? e.g.
With MyLabel
.Height = 2000
.Width = 2000
.Caption = "This is MyLabel"
End With