Project Overview
Part of the PowerShell Basics section of Coddy's PowerShell journey. Lesson 21 of 28.
Challenge
EasyIn this project you build a script that checks how strong a password is. It counts the characters, checks the length, counts digits and capital letters, gives a score and finally checks many passwords in one run.
Start with the title and the length of one password.
- Print the title
Password Checkerand under it a border of 16=characters. - Read a password with the prompt
Passwordand store it in$pw. - Print
Characters:and the number of characters in the password.
With the input sunflower, your script prints:
Password Checker
================
Password: sunflower
Characters: 9Try it yourself
# Password Checker
All lessons in PowerShell Basics
5Project: Password Checker
Project OverviewLength Check