Created
March 28, 2022 13:03
-
-
Save solrevdev/e7f1797cd53c833504a5ea85b07bc49f to your computer and use it in GitHub Desktop.
Run a powershell file saving its output to format YYYY-MM-DD_HHMM.txt AKA 2022-03-28_1359.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Run a powershell file saving its output to format YYYY-MM-DD_HHMM.txt AKA 2022-03-28_1359.txt | |
:: | |
powershell -f report.ps1 > %date:~6,4%-%date:~3,2%-%date:~0,2%_%time:~0,2%%time:~3,2%.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment