Strings and Arrays in PowerShell Core for Linux
The string data type is probably the most used data type in PowerShell. From displaying messages, prompting for input, or sending data to files, it is almost impossible to write scripts without strings being involved.
An array is a data structure designed to store a collection of items. The items can be the same type or different types.
This hands-on lab will demonstrate the use of both strings and arrays in PowerShell for Linux.