How to create an object from a C# *.cs file in PowerShell 3.0 and call a function on it.
If you want to create an object based on the C# code in a *.cs file, by using PowerShell 3.0 you can use the following C# and PowerShell code: Create a folder "C:\Temp"