Maybe it’s for a help string for a particularly convoluted shell script you’re writing. You could have a separate echo command for each line. Or you could use the “here document“.
For advanced Windows users, the command line has long been a powerful tool for managing and interacting with the operating system. But PowerShell ups the ante with automation and scripting.