One of the rather charming features of Powershell is its ability to
enable you to use other existing .Net framework languages. I like it
because it makes you feel like you aren't giving up on what you already
know.
Such is the case with the Msgbox:
$Iret = [reflection.assembly]::LoadWithPartialName("'Microsoft.VisualBasic")
$Iret = [Microsoft.VisualBasic.Interaction]::MsgBox("This works just fine")
No comments:
Post a Comment