You can load a .NET dll in a Powershell script and invoke it.
https://docs.microsoft.com/en-us/powershell/module/microsoft...
Re:Microsoft plots the end of Visual Basic
by lostmsu on Saturday March 14, 2020 @01:28AM
(#22573401)
Oh, that's not exactly have C# in the same script.
Re:Microsoft plots the end of Visual Basic
by orthoxerox on Saturday March 14, 2020 @04:43AM
(#22574008)
Depends on whether this is allowed by your GPO or not.
Re:Microsoft plots the end of Visual Basic
by tjalfi on Saturday March 14, 2020 @09:34AM
(#22575154)
[0] has an example of inline C# code.
[0] https://dandraka.com/2018/11/12/powershell-how-do-you-add-in...
What feature are you referring to?