I just want to get the class object from a dll method(Which Returns object) inside the application
and return that object to aspx.cs page through powershell script.
powershell script:
---------------------
`param (
[string]$appName="test1",
[string]$versionMajor = 2,
[int]$versionMinor = 3
)
[Reflection.Assembly]::LoadFile("E:\sample.dll")
$MyCompObj = New-Object sample.SampleDAL
Return $MyCompObj.GetInfo($appName,$versionMajor,$versionMinor)
`
The above specified is a .ps1 file
I was not able to get the object and its properties from the .ps1 in .aspx.cs page
by calling this powershell script from .net.
...
Go to the complete details ...