Skip to main content

Strings and Arrays in PowerShell Core for Linux

Hands-On Lab

 

Photo of

Training Architect

Length

00:45:00

Difficulty

Intermediate

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.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.