---
title: "#write-warning articles | Hashnode"
description: "Explore 1 articles tagged #write-warning on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/write-warning"
---

Tag

# #write-warning

1 posts · 0 followers

[Marcus Schommler](https://hashnode.com/@mschomm) · [Aug 18, 2023](https://hashnode.com/posts/conditionally-redirecting-output-powershell-script/64dfadf9e65399cca3f6f256)

### [Conditionally Redirecting Output from Inside a Powershell Script File](https://sysdive.net/conditionally-redirecting-output-powershell-script?utm_source=hashnode&utm_medium=feed)

If you look at documentation and examples about output redirection in Powershell, you'll often find code showing you how to redirect e.g. Write-Warning on the command line level like shown here: .\\script.ps1 3> warnings.log Usually, it's best practi...

3 min read · [sysdive.net](https://sysdive.net/conditionally-redirecting-output-powershell-script?utm_source=hashnode&utm_medium=feed)
