Validate PSSession authentication mechanism

Welcome Forums General PowerShell Q&A Validate PSSession authentication mechanism

This topic contains 1 reply, has 2 voices, and was last updated by

9 months, 1 week ago.

  • Author
  • #100575

    Points: 22
    Rank: Member


    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,

  • #100578

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    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.

The topic ‘Validate PSSession authentication mechanism’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort