Century 5 -> 10

Century 5 -> 6

The password for Century6 is the short name of the domain in which this system resides in PLUS the name of the file on the desktop:

Cleaner output
Get-ADDomain | select Name; echo "`nFilename`n----"; dir
Password: underthewire3347

Century 6 -> 7

The password for Century7 is the number of folders on the desktop.

Get-ChildItem -Directory | Measure-Object
Password: 197

Century 7 -> 8

The password for Century8 is in a readme file somewhere within the contacts, desktop, documents, downloads, favorites, music, or videos folder in the user’s profile.

List Recursively: dir -Recurse
Read File: type C:\users\century7\Downloads\Readme.txt
Password: 7points

Century 8 -> 9

The password for Century9 is the number of unique entries within the file on the desktop.

type unique.txt | Get-Unique | Measure-Object
Password: 696

Century 9 -> 10

The password for Century10 is the 161st word within the file on the desktop.

Split with whitespace delimiter, save it in a variable and echo 161th word:
$word = (Get-Content .\Word_File.txt) -split ' ' ; $word[160]
Password: pierid

Need to look for a better way

Last updated