How can I use Invoke-WebRequest without output?

0
19
Asked By CuriousCactus27 On

I'm trying to create a silent operation for Invoke-WebRequest in my setup file. Every method I've tried so far seems to still output information, and what I really need is for it to run quietly so I can implement my own custom download screen. Any tips on how to achieve this? Thanks!

3 Answers

Answered By QuietStorm99 On

To make Invoke-WebRequest silent, you can pipe the output to Out-Null. This will suppress any output from being displayed, giving you the quiet operation you’re looking for.

Answered By SilentObserver82 On

Wait, what do you mean by 'noise'? Is there some kind of output you’re seeing that's bothering you?

Answered By CodeNinja45 On

Are you trying to hide the progress bar as well? That can make it look less noisy during the process.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.