Enforcing Smartcard with Powershell

Hello All, I am a novice when it comes to scripting especially in powershell.

I came across this writeup on enforcing smartcard but also allowing the user to reset their password:

Is the script listed a powershell script or visual basic? How do I go about running this script on a user to test?

Please advise if I understand what the script is actually doing.

Thanks All!

Ronnie,
Welcome to the forum. :wave:t4:

How about contacting the author of the script when you have questions about it? :wink:

Ronnie,

The article you linked tells you what type of script it is. Please look through the article and find the name of the type of script it is.