Orginally a feature of PowerShell Pro Tools, this module provides the ability to convert between C# and PowerShell. No license required.
Install-Module CodeConversion
ConvertTo-PowerShell -Code 'System.Diagnostics.Process.GetProcesses()'
# Outputs: Get-Process
ConvertTo-CSharp -Code 'Get-Process'
# Outputs: System.Diagnostics.Process.GetProcesses()