Is there any solution to run PowerShell 1.0 in C# remotely?RSS

2 replies

Last post Feb 23, 2009 04:11 AM by sergeia

  • Is there any solution to run PowerShell 1.0 in C# remotely?

    Dec 08, 2008 11:30 AM|julia1005|LINK

    Is there any solution to run PowerShell 1.0 in C# remotely? Can't run PowerShell 2.0 in Windows XP, right?

    Thank you!

  • Re: Is there any solution to run PowerShell 1.0 in C# remotely?

    Dec 08, 2008 01:33 PM|marcoshaw|LINK

    So you want to create a client/server type app, where you're wanting to invoke a PowerShell runspace on a remote system?

    It will likely be 2010 before you see v2 run on XP (and fully supported) (http://dmitrysotnikov.wordpress.com/2008/11/06/powershell-v2-release-schedule/).

    Marco

  • Re: Is there any solution to run PowerShell 1.0 in C# remotely?

    Feb 23, 2009 04:11 AM|sergeia|LINK

    Julia, you could try to use winrm to access data from Powershell scripts remotely, but I doubt it will be possible on XP.

     

    Regards,

    Sergei