PowerShell: Array and Types
Get Type of Array
$x = 3, 4, 5 $x.gettype().fullname # System.Object[]
Default Type of Array
# by default, array are created of type System.Object[] $x = 3, 4, 5 $x.gettype().fullname # System.Object[]
Create a Strongly Typed Array
# create a array of int32 type [int32[]] $x = 3, 4, 5 $x.gettype().fullname # System.Int32[]
PowerShell: Array
- PowerShell: Array
- PowerShell: Array Sub-Expression Operator @(), Collection to Array
- PowerShell: Array and Types
- PowerShell: Nested Array, Multi-Dimensional Array
- PowerShell: Array, Get Item
- PowerShell: Array, Set Item
- PowerShell: Test If Collection Contains a Value
- PowerShell: Join Array, Append
- PowerShell: Filter Array
- PowerShell: Delete Array, Clear Array
- PowerShell: Array to String
- PowerShell: Array Methods
- PowerShell: Iterate Array