title: Is there a generic way to capture all verbose output to a file but only show stdout on console?
body: <p>We have a bunch of different powershell tools that we use for build/deploy and other development and admin activity in my team. Mostly these are calling other Powershell scripts and Cmdlets but there are some x86 command line apps also (e.g. msbuild)</p>
  <p>They largely all are setup to output verbose output. I do that so that I can troubleshoot retrospectively when something goes wrong in the team</p>
  <p>However the team have asked to have less noisy output to the console. I still want the verbose output to be available retrospectively</p>
  <p>So it feels like I need something like a continuous loop of the last 100k rows of verbose activity. Including any console input and output written to a file - regardless of the -verbose setting that the developer applied</p>
  <p>Is there anything like this available in Powershell?</p>
  <p>I know about redirection but I'm not sure how it can solve this problem as it seems that you have to match the stdout with the redirect even if you use Tee-Object - also it wouldn't capture inputs.</p>
  <p>Eager to learn some hidden secrets or elegant creative solutions! :)</p>
  <p>UPDATE: as mentioned redirect is not a practical solution. I've created a request <a href="https://github.com/PowerShell/PowerShell/issues/17482" rel="nofollow noreferrer">https://github.com/PowerShell/PowerShell/issues/17482</a></p>