There are blogs mentioning how to add reference System.Management.Automation in your C# code, But all system are not properly configured. I found the DLL System.Management.Automation in C:\Windows\winsxs\msil_system.management.automation_
Just you stuck in finding your DLL this may be the folder you have to look in
C:\Windows\winsxs\msil_system.management.automation_
Reference Blog :
http://blogs.msdn.com/b/saveenr/archive/2010/03/08/how-to-create-a-powershell-2-0-module-and-cmdlet-with-visual-studio-2010-screencast-included.aspx
http://www.cibengineering.com/blog/system-management-automation/
http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C
Happy Weekend, I am done with my Learning Today.
Just you stuck in finding your DLL this may be the folder you have to look in
C:\Windows\winsxs\msil_system.management.automation_
Reference Blog :
http://blogs.msdn.com/b/saveenr/archive/2010/03/08/how-to-create-a-powershell-2-0-module-and-cmdlet-with-visual-studio-2010-screencast-included.aspx
http://www.cibengineering.com/blog/system-management-automation/
http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C
Happy Weekend, I am done with my Learning Today.
No comments:
Post a Comment