If an interpreter is not specified, the
source is executed directly. This execution, without an
interpreter, only succeeds for executables and scripts that have <a
href="https://en.wikipedia.org/wiki/Shebang_(Unix)";
class="external">shebang lines</a>.
Powershell
Indicates that the script runs with PowerShell.
Shell
Indicates that the script runs with /bin/sh on Linux and
cmd.exe on Windows.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page details the `Interpreter` enum within the `Google.Cloud.OsConfig.V1` namespace, specifically related to the execution of scripts and commands."],["The `Interpreter` enum offers four distinct options: `None`, `Powershell`, `Shell`, and `Unspecified`, each dictating how a source will be executed."],["The `None` interpreter setting indicates that the source will be executed directly, which only works for executables and scripts with shebang lines."],["The `Shell` option executes scripts with `/bin/sh` on Linux and `cmd.exe` on Windows systems, whereas `Powershell` runs scripts using PowerShell."],["The latest version available in this list is version 2.4.0, and each version has a corresponding link to the documentation."]]],[]]