Glossary: Command Line for IT: Bash and PowerShell
array
A numbered list of values in PowerShell. [0] is the first item and [-1] the last, so $parts[-4] is the fourth word from the end.
Glossary: Command Line for IT: Bash and PowerShell
A numbered list of values in PowerShell. [0] is the first item and [-1] the last, so $parts[-4] is the fourth word from the end.