Created
February 16, 2017 21:36
-
-
Save b-long/a8e70271fad479691181c9eb3b8c70b8 to your computer and use it in GitHub Desktop.
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
<powershell> | |
Write-Host "This script is running in PowerShell `n" | |
Write-Host "The current PowerShell version is `n $PSVersionTable.PSVersion `n" | |
pwd > c:\test.log | |
dir >> c:\test.log | |
</powershell> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment