How to verify Windows credential using command line

HI All,

We were working on some assignment where we had requirement to verify the credential using command line

After fighting a lot with net command I came to conclusion that we can map a domain default share using net use command.

So simple script which try to authenticate with given credential to domain using net use.

Script:-



Note :- password is not masked in script.

Sample Output :-




-Kaustubh

Comments

  1. While completing an assignment, we encountered a crucial requirement to verify credentials using the command line. This intricate task demanded a meticulous approach and technical proficiency. Exploring command line functionalities added a layer of depth to our verification process. Amidst this, the relevance of the queensland university of technology became apparent, showcasing the practical application of skills acquired in academic settings. Successfully navigating this assignment strengthened our command line expertise and underscored the real-world applicability of knowledge gained from institutions like the Queensland University of Technology.

    ReplyDelete

Post a Comment