Menu
CoddyTech

Project Overview

Part of the PowerShell Basics section of Coddy's PowerShell journey. Lesson 21 of 28.

challenge icon

Challenge

Easy

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

  1. Print the title Password Checker and under it a border of 16 = characters.
  2. Read a password with the prompt Password and store it in $pw.
  3. Print Characters: and the number of characters in the password.

With the input sunflower, your script prints:

Password Checker
================
Password: sunflower
Characters: 9

Try it yourself

# Password Checker

All lessons in PowerShell Basics