Created
May 10, 2018 09:14
-
-
Save gislig/47971e56964be0ce211d7ffbf14befc1 to your computer and use it in GitHub Desktop.
Simple Powershell Example 1
This file contains 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
$Cars = "Tyota","Hyundai","Ford" | |
#Foreach within the Array | |
$Cars | ForEach-Object { $_ } | |
#Foreach within the Array simpler | |
$Cars | ForEach { $_ } | |
#Foreach within the Array much simpler | |
$Cars | % { $_ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment