Microsoft.VisualBasic.Interaction
contains procedures to interact with objects, applications and systems. This class is one of the (how many) classes that have a reduced set of methods in .NET Core . For example AppActivate
, MsgBox
or Shell
is not available in .NET Core. AppActivate
migth be used in PowerShell like so to bring an application to the front: [void] [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic') [Microsoft.VisualBasic.Interaction]::AppActivate('Excel')