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...
Using Powershell for IT systems management
Started as a software developer specialized in UI and database design, later moved into IT systems administration. Working mainly with infrastructure and services based on Windows Server (Exchange 2016, Active Directory, WSUS, MDT, ...) and VMWare vSphere.
Markdown supported · ⌘↵ to post
No responses yet.