summaryrefslogtreecommitdiffhomepage
path: root/powershell.html.markdown
diff options
context:
space:
mode:
authorRenze Yu <renzeyu@microsoft.com>2018-11-08 10:48:33 +0800
committerGitHub <noreply@github.com>2018-11-08 10:48:33 +0800
commitd7cd776eee4b6d3187ffa50d7d3b2c243885adc5 (patch)
treed7c5e508336b5eeecbbb3d553a4b2e85f077905c /powershell.html.markdown
parent76e5f436dfed7d3fcdbe4911091fc2a0231eeca5 (diff)
add list syntax example in for powershell
Diffstat (limited to 'powershell.html.markdown')
-rw-r--r--powershell.html.markdown1
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'}