$password = adding upper case into passwordġ.$min_upper | % ) $min_misc = ($passwordlength – ($min_upper + $min_lower + $min_number + $min_symbol)) #Minimum Symbol/Puncutation characters in password #Minimum Numerical characters in password #Minimum Lower Case characters in password #Minimum Upper Case characters in password #Make sure that number of characters below are not greater than $passwordlength!! For this instance, I wanted to have a minimum amount of 14 characters and have at least 3 characters for Upper, Lower, numerical and symbols. The first piece I wanted to work on was the Password generation function that would create a randomly generated password using some specified parameters in the code. I then used Powershells own ISE editor to finish adding the required code to finish out the tool. ps1 file which I could then finish coding the rest of the tool. ![]() Once I had the form looking exactly like the original form, I was then able to export the code without much effort to a. The easiest way to build the front end form was using Primal Forms Community Edition to build it out. I decided there that Powershell would be the way to go. Long story short, I spent a little bit of time working with Visual Studio 2005 and was able to get it working only on my machine, but it would not work on anyone elses machine. Now approximately 4 years after the last time I worked on the vb code, I was asked again to perform some work on it in my new position. Now during that time, I had to locate the source files and grab a temporary license to use Visual Studio to make the modifications to the code in order to make the changes required. Visual Studio was the tool that I used to make this happen. During my time there I was given the task to update the password requirements and wording on the form. ![]() During my time as a help desk/service center rep, we had a tool which would generate a password via a form and button and then was able to print out the form to give to each customer to take with them so they would not forget their password.
0 Comments
Leave a Reply. |