PowerShell PowerShell [Linq.Enumerable]::Last([int[]](1,2,3,4)) 1 [Linq.Enumerable]::Last([int[]](1,2,3,4))