TipsAndTricks/NegativeIndexing.Tip.ps1

# Collections that take an integer index can be negative indexed.

# This will look backwards thru a collection
@(1..100)[-2]