source: Option Explicit
  Dim i
  For i = 1 To 2
      MsgBox "Test #21 - Count " & i
  Next
target: Add-Type -AssemblyName Microsoft.VisualBasic
  Option Explicit
  
  for ($1 = 0; $1 -le 2; $1 += 1) {
      [Microsoft.VisualBasic.Interaction]::MsgBox "Test #21 - Count " + $i
  }