Powershell - Array

Windows Powershell Menu

About

Collection - Array in Powershell

Management

Init

  • Code
$foo = "Nico","Gerard"
  • GetContent - return one element by line in an array

Join

$foo = "Nico","Gerard"
$foo -join ' '

To String

[string]$foo

Properties

length

$MY_ARRAY.length

Documentation / Reference







Share this page:
Follow us:
Task Runner