Powershell to Get VB InputBox


posted by Krishna
12-09-2009

Downloads: 427
File size: 178 B
Views: 1,856

Embed
Powershell to Get VB InputBox
  1. [void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic'
  2. $uname = [Microsoft.VisualBasic.Interaction]::InputBox("Enter Username", "Window Title"
  3. $uname 
Copyright 2012 PowerShell.com. All rights reserved.