summaryrefslogtreecommitdiffhomepage
path: root/powershell.html.markdown
diff options
context:
space:
mode:
authorAndrew Ryan Davis <AndrewDavis1191@gmail.com>2020-08-20 10:46:03 -0700
committerAndrew Ryan Davis <AndrewDavis1191@gmail.com>2020-08-20 12:30:32 -0700
commit88f7de0db064b61d0020bc69b9ca73f506cff14e (patch)
tree031c90b6d9146f51a763e1ae006fe21eed40602b /powershell.html.markdown
parenta1b13e3757a452658ae4ee10fe4bf0b1f11dbe98 (diff)
Final comments
Diffstat (limited to 'powershell.html.markdown')
-rw-r--r--powershell.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/powershell.html.markdown b/powershell.html.markdown
index e210d40a..41f5b5ae 100644
--- a/powershell.html.markdown
+++ b/powershell.html.markdown
@@ -122,7 +122,7 @@ $False - 5 # => -5
[System.Collections.ArrayList]$a = @() # Point a at a new list
$a = (1,2,3,4)
$b = $a # => Point b at what a is pointing to
-$b -is $a.getType() # => True, a and b equal same type
+$b -is $a.GetType() # => True, a and b equal same type
$b -eq $a # => True, a and b values are equal
[System.Collections.Hashtable]$b = @{} # => Point a at a new hash table
$b = @{'one' = 1
@@ -158,7 +158,7 @@ $age = 22
"Making`tTables`tWith`tTabs" # => Format things with tabs
# Negate pound sign to prevent comment
-# Note that the function of '#' is removed, but '#" is still present
+# Note that the function of '#' is removed, but '#' is still present
`#Get-Process # => Fail: not a recognized cmdlet
# $null is not an object