Stichwort Streamwriter:

Imports System.IO

public class Test
public Shared Sub Main
Dim Datei As String = "DeinName.vbs"
Dim Stream As New StreamWriter(Datei)
Stream.WriteLine("Dein Text")
Stream.Close()
End Sub
End class

müsste gehen

MfG