diff options
author | Renze Yu <renzeyu@microsoft.com> | 2018-11-08 10:48:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 10:48:33 +0800 |
commit | d7cd776eee4b6d3187ffa50d7d3b2c243885adc5 (patch) | |
tree | d7c5e508336b5eeecbbb3d553a4b2e85f077905c | |
parent | 76e5f436dfed7d3fcdbe4911091fc2a0231eeca5 (diff) |
add list syntax example in for powershell
-rw-r--r-- | powershell.html.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/powershell.html.markdown b/powershell.html.markdown index 5a5050b4..f9c20607 100644 --- a/powershell.html.markdown +++ b/powershell.html.markdown @@ -68,6 +68,7 @@ $aString="Some string" # Or like this: $aNumber = 5 -as [double] $aList = 1,2,3,4,5 +$anEmptyList = @() $aString = $aList -join '--' # yes, -split exists also $aHashtable = @{name1='val1'; name2='val2'} |