In the newsgroup Microsoft.Public.Windows.PowerShell Marco Shaw asked about accessing data past the end of a defined array. He wondered why he didn't get an error.
As a general rule in PowerShell, when you ask for something that doesn't exist, you get an NULL not an error.
PS> $array=@(0,1,2)PS> if...