Search notes:

Microsoft.VisualBasic.Interaction (class)

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

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')
Compare with the VBA statement appActivate and the PowerShell script goWnd.ps1.

Index