Use C# in PowerShell

PowerShell is a cross-platform language build on top of .Net framework which accepts and returns objects. PowerShell can access the libraries written in C#, VB, jScript. Scripts are usually build using PowerShell cmdlets but we can use the libraries coded in C#. Embed C# (CSharp) code directly in PowerShell Below example shows how to use … Continue reading Use C# in PowerShell