Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Multiply Strings

$
0
0

Summary: Use Windows PowerShell to multiply strings.

Hey, Scripting Guy! Question How can I use Windows PowerShell to display a string a number of times, without doing a lot of typing?

Hey, Scripting Guy! Answer Multiply the string:

PS C:\> "cat " *5

cat cat cat cat cat


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>