Powershell get variable from vb.net textbox


hello guys, link shows how call ps vb.net (http://blogs.msdn.com/b/zainnab/archive/2008/07/26/calling-a-powershell-script-from-your-net-code.aspx)

how run powershell script , data vb.net textbox?

for example: vb.net has textbox called "name".

and if call powershell script vb.net data textbox called name, , data use powershell script.

thanks, help.



every second counts..make use of it. disclaimer: posting provided no warranties or guarantees , confers no rights.
it stuff quick bytes

vbscript cannot call vb.net.  not same thing

vbscript has no textboxes.

you can use vb interactive powershell.

add-type -assemblyname microsoft.visualbasic
[microsoft.visualbasic.interaction]::inputbox('enter secret message')


\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Windows 2016 RDS event 1306 Connection Broker Client failed to redirect the user... Error: NULL