Forum / Remote Desktop Manager - PowerShell Repository

Tab Completion for PowerShell Remote

  • Create an Issue
  • Cancel

Hi All

Not directly RDM related but I'm wondering if anyone knows if it is possible to get tab completion working in the Remote PowerShell Console of RDM (which I assume is using Enter-PSSession)?

I can use the normal PS module in RDM to run an embedded script like the following

$ps = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://server.fqdn/PowerShell
Import-PSSession $ps

That uses Import-PSSession and loads all of the Exchange commands into my local session and enabled tab completion for them.

If I instead use the Remote PowerShell Console in RDM and specify http://server.fqdn/PowerShell as the Uri and Microsoft.Exchange as the Configuration I end up at a remote session that I assume has been created by calling Enter-PSSession. Here tab completion doesn't work. That is also true if I just launch a standard PowerShell session and run

Enter-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://server.fqdn/PowerShell

so it isn't an RDM specific question, just a PowerShell one.

As I said above, the Import-Session version above gets me what I need so I have a working solution, just wanted to know if this is also possible for Enter-PSSession?



Clock3 yrs


This is the only interesting information I have found about your tab completion issue is described in this Reddit post.

Best regards,

Érica Poirier


Clock3 yrs

Thanks Erica. Yeah I'd seen that...weirdly it seems to opposite of what I see. Thanks for looking smile


Clock3 yrs