Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7417705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:44:57+00:00 2026-05-29T07:44:57+00:00

I am using cdb.exe to debug a service remotely. To ease this, I’ve been

  • 0

I am using cdb.exe to debug a service remotely. To ease this, I’ve been trying to use a powershell remoting session to do the work. However, I am running into behavior I don’t understand.

This works

  1. new-pssession | enter-pssession
  2. (in the interactive session) cdb.exe -server “npipe:pipe=debug” -p ###
  3. (in another local powershell or cmd) cdb.exe -remote “npipe:pipe=debug,server=server”

With that, I control the session remotely from my local cdb. I also see the entire session remotely in the connected remote powershell. That leads me to think … for a quick session, why not remove the need for that second local window, and just use cdb from the remote session.

Except, I can’t get that to work.

This doesn’t work

  1. new-pssession | enter-pssesion
  2. (in the interactive session) cdb.exe -p ###

The moment cdb reaches a point whre it prompts, powershell exits cdb and gives me the powershell prompt.

Is this a setting I can change?
Is this just something w/ how powershell remoting and WinRM work?

Seems odd that I can watch this entire session live in the remote window, but there is no way to interact with the same.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:44:59+00:00Added an answer on May 29, 2026 at 7:44 am

    Any sort of interactive CLI tool probably won’t work in a remoting session or at least very well. In a remote session PowerShell serializes what happens on the remote end and sends it back over the wire to the local session. When you use PowerShell cmdlets, you get objects which PowerShell can handle. CLI tools are going to return strings. I don’t think PowerShell remoting is going to help you here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .NET windows service that is calling cdb.exe to analyze crash dumps.
Using jQuery and jQuery.Colors, I've been trying to come up with a way to
I am using the following function to loop through a couple of open CDB
Using PyObjC , you can use Python to write Cocoa applications for OS X.
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
I am using windows cmd and i am trying to do the following: REG
I need to extract data from .CDB (CardScan Database) using C#. How i can
I'm trying to create a generic LINQ-TO-SQL repository based on this post which basically
Using linq2sql I'm trying to take the string in txtOilChange and update the oilChange
Using the navigator.geolocation object in JavaScript. Trying to establish accurate ranges, but wondering exactly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.