PowerTip: Use PowerShell to create repeating letters

Doctor Scripto

Summary: Learn how to easily create duplicate letters by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily create a specific number of letters in a repetitive fashion?

Hey, Scripting Guy! Answer To create repetitive letters, all you need to do is to “multiply” them, for example:

PS C:\> "a"*5

aaaaa

0 comments

Discussion is closed.

Feedback usabilla icon