header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Q: System.Management.Automation.Remoting
Last Post 22 Mar 2009 05:02 PM by Noli. 3 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
adam_j_bradleyUser is Offline
New Member
New Member
Posts:2
Avatar

--
25 Oct 2008 07:22 PM

    I've been trying to use the Remoting capabilities within a C# application but it seems my assembly System.Management.Automation.dll doesn't contain the namespace

    "System.Management.Automation.Remoting"

    Any ideas?
    Thanks in advance!

    Adam

    Shay LevyUser is Offline
    PowerShell MVP, Admin
    Veteran Member
    Veteran Member
    Posts:1362
    Avatar

    --
    26 Oct 2008 02:24 AM
    You need to install PowerShell CTP2

    Shay Levy
    Windows PowerShell MVP
    http://PowerShay.com
    PowerShell Community Toolbar
    Twitter: @ShayLevy
    adam_j_bradleyUser is Offline
    New Member
    New Member
    Posts:2
    Avatar

    --
    26 Oct 2008 02:37 PM

    Found it - thankyou. Do I need to provide an implementation of PSHost to make a remote connection?


    ---snip---

    RemoteRunspace rs = new RemoteRunspace("https", "exchange.adamjbradley.com/powershell/", 443 , "Microsoft.Exchange", LiveCredential, null);
    ---snip---

    Thanks in advance.

    Adam

    NoliUser is Offline
    New Member
    New Member
    Posts:1
    Avatar

    --
    22 Mar 2009 05:02 PM
    Has anyone found a way to do this in CTPv3?

    Anthony
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer