2,187
edits
m (→Variables: Added "Variable Infromation") |
|||
Line 66: | Line 66: | ||
|<code> [Boolean] </code> || True or False value | |<code> [Boolean] </code> || True or False value | ||
|} | |} | ||
=== Variable Information === | |||
As variables tend to be black boxes that can contain anything or nothing, its often necessary to understand more about one... | |||
'''Variable Type''' | |||
<source lang="powershell"> | |||
$var.GetType() | |||
IsPublic IsSerial Name BaseType | |||
-------- -------- ---- -------- | |||
True True Object[] System.Array | |||
</source> | |||
'''Variable Properties and Methods''' | |||
<source lang="powershell"> | |||
Get-Member -InputObject $var | |||
</source> | |||
=== Strings === | === Strings === |