Validate PSSession authentication mechanism

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 1 week, 3 days ago.

  • Author
    Posts
  • #100575

    Harmen Hulsman
    Participant

    Hi,

    I would like to test if an existing PSSession object is created using the CredSSP authentication mechanism. I'm creating some modules whose functions would receive a PSSession object and in some cases that needs to be a PSSession created with CredSSP. I would like to validate that condition in the receiving function.

    I don't see any property of the PSSesion object that gives me that information, nor aven't found any documentation or articles on the subject. Anyone can help me out here?

    Thanks in advance,
    Harmen

  • #100578

    Don Jones
    Keymaster

    That information isn't exposed within the session; the session runs well “underneath” the transport protocol that actually handles authentication. You'd have to trap for error conditions instead.

You must be logged in to reply to this topic.