Indent Start-Download progress output
I'm using Start-Download in a powershell script. Is it possible to indent the progress output (for example 4 spaces)? I'm not familar with powershell, maybe i missed an easy way.
TIA, Torsten
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on 02 Mar, 2017 02:30 AM
Hi Torsten,
Seems like no easy way here (if you are askking about
Start-FileDownload
command). It usesPSHostUserInterface.Write
method (https://msdn.microsoft.com/en-us/library/system.management.automati...) internally and I do not see a way to insert indentation without modifying PowerShell function itself. How terrible you need it? ;)Ilya.
2 Posted by Torsten on 04 Mar, 2017 10:02 AM
Hello Ilya,
Thanks for your answer. It would make the output look it bit cleaner. So it's just a cosmetic thing, not really nesseccary, but nice to have. :)
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:15 AM.