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,
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.