Difference between revisions of "Power Shell"

Jump to navigation Jump to search
m (Undo revision 676 by Sstrutt (Talk) Restored sections mysteriously lost during last edit)
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 ===