PowerShell Demo: String Splitting, Cast an Array to a List, and a "Join"

Опубликовано: 09 Октябрь 2024
на канале: Thomas Blum
212
3

This video shows a series of PowerShell scripts that use split to turn a string into an array of strings. The result has some "extra" elements. So in subsequent scripts the array is cast to a list which has some methods to removing elements. In the end we use Write-Host with a Separator option which acts like a "join" (the reverse of split).