User Notice Using VB Script – Acrobat Reader Output

Option Explicit
DIM fso
Set fso = CreateObject("Scripting.FileSystemObject")

If (fso.FileExists("\\FILE_SERVER\NOTICE$\live.pdf")) Then

dim wShell:Set wShell=CreateObject("WScript.Shell")
dim i
i=wShell.Run("AcroRd32.exe \\FILE_SERVER\NOTICE$\live.pdf",1,False)
Set wShell=Nothing

Else
 WScript.Quit()
End if
 WScript.Quit()

Single Run User Notice Using VB Script – Internet Explorer Output

Option Explicit

'Delivery - run only if text file is not present

DIM fso
Set fso = CreateObject("Scripting.FileSystemObject")
If (fso.FileExists("N:\RedirectedProfileFolders\surveymonkey.txt")) Then

 WScript.Quit()

Else

'Payload - open url and create blank text file used by delivery section of script

dim wShell:Set wShell=CreateObject("WScript.Shell")
dim i
i=wShell.Run("iexplore.exe O:\Students\surveys\surveymonkey_students.url",1,False)
Set wShell=Nothing

Dim successful_run
Set successful_run = fso.CreateTextFile("N:\RedirectedProfileFolders\surveymonkey.txt",True)

End if
 WScript.Quit()

User Notice Using VB Script – Internet Explorer Output

Option Explicit
DIM fso
Set fso = CreateObject("Scripting.FileSystemObject")

If (fso.FileExists("\\FILE_SERVER\NOTICE$\live.url")) Then

dim wShell:Set wShell=CreateObject("WScript.Shell")
dim i
i=wShell.Run("iexplore.exe \\FILE_SERVER\NOTICE$\live.url",1,False)
Set wShell=Nothing

Else
 WScript.Quit()
End if
 WScript.Quit()

SIMS Installation – Batch File

For this installation package, the SIMS setup folder was copied to a network share on the MDT server.

net use X: \\MDT_SERVER\networkpackages$

start /wait X:\sims\setups\simsinfrastructuresetup.exe -a {QuietMode} {SIMSWorkstation} {FMSWorkstation}

start /wait X:\sims\setups\simsapplicationsetup.exe /S {QuietMode} [SIMSDirectory]="S:\SIMS" [SIMSDotNetDirectory]="C:\Program Files\SIMS\SIMS .net"

start /wait X:\sims\setups\simsmanualsetup.exe /S {QuietMode} [SIMSDirectory]="S:\SIMS" [SIMSDotNetDirectory]="C:\Program Files\SIMS\SIMS .net"

start /wait X:\sims\setups\simsamparksetup.exe /S {QuietMode} [SIMSDirectory]="S:\SIMS" [SIMSDotNetDirectory]="C:\Program Files\SIMS\SIMS .net"

echo SIMSSetupsDirectory=S:\SIMS\Setups >> C:\Windows\sims.ini

echo Folder=SIMS Applications >> C:\Windows\sims.ini

echo [SIMSConnection] >> "C:\Program Files\SIMS\SIMS .net\connect.ini"

echo REDIRECT=S:\SIMS >> "C:\Program Files\SIMS\SIMS .net\connect.ini"

net use /delete /y X: