PowerShell Genie

Why avoid hard-coded passwords?

Quiz 1 min read Windows PowerShell 5.1 and PowerShell 7

Documentation: Microsoft Learn

Hard-coded passwords leak into logs, history, and repos — test the safer alternatives.

Overview

QUIZ

Core PowerShell · Question 7 of 12

Review the prerequisite

errors debugging

Primary documentation

Active Directory PowerShell documentation

Choose your answer

Choose one answer to see feedback.

Next question
Genie guideWhy avoid hard-coded passwords?

Hard-coded passwords leak into logs, history, and repos — test the safer alternatives.