Supported Script Types
OptiTune supports several script types. They are listed in the table below. Note that while the script interpreters for many of these script types comes installed with Windows, others need to be already installed on the client machine in order to interpret and run the script. You may need to create an install task to install these third party script engines before you can execute these types of scripts.
Script Type | File Extension | Script Engine Location | Included With Windows |
---|---|---|---|
Batch | CMD, BAT | %WINDIR%\System32\cmd.exe | Yes |
PowerShell | PS1 | %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe | Yes |
WSH (Windows Script Host) | VBS, JS, WSF | %SystemRoot%\system32\cscript.exe | Yes |
Bravura Settings Script | BVS | %ProgramFiles(x86)%\Bravura\Optitune\ServiceClient\BVScript.exe | No, but included with OptiTune Client |
Python | PY | %SystemRoot%\py.exe | No, visit https://www.python.org/ |
Perl | PL | First Perl.exe file in %PATH% | No, visit http://strawberryperl.com/ |
Ruby | RB | First Ruby.exe file in %PATH% | No, visit https://www.ruby-lang.org/ |
Batch Scripts
Most system administrators are familiar with windows batch scripts. For more information and documentation on batch scripts, visit http://en.wikipedia.org/wiki/Batch_file
PowerShell Scripts
Starting with Windows XP, Microsoft has included a more powerful and extensible scripting engine called PowerShell. You can launch the PowerShell interpreter by going to the start menu and searching for "powershell".
For more information on PowerShell scripts, visit https://technet.microsoft.com/en-us/scriptcenter/powershell.aspx
Windows Script Host
An older scripting technology included with Windows, since Windows 98, Windows Script Host (WSH) presents a unified framework for executing different types of scripts. To learn more about WSH, visit http://en.wikipedia.org/wiki/Windows_Script_Host
Bravura Settings Script
A proprietary script format included with OptiTune, the Bravura Settings Script (BVS) lets you make various settings changes in the registry. Used primarily when access to all user registry hives is required.
Python
An open source programming language from the early 1990s, Python can be used to write complete programs, or scripts as in this case. Visit https://www.python.org/ for more information.
Perl
Another open source programming language from the mid 1980s, Perl can also be used to write complete programs, as well as scripts. Visit https://www.perl.org/ for more information.
Ruby
A more recent open source programming language from the mid 1990s, Ruby can be used to write complete programs or scripts. Visit https://www.ruby-lang.org/ for more information.