Powershell Numericupdown Visual Basic Code Functions