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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eInterpreter\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.OsConfig.V1\u003c/code\u003e namespace, specifically related to the execution of scripts and commands.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterpreter\u003c/code\u003e enum offers four distinct options: \u003ccode\u003eNone\u003c/code\u003e, \u003ccode\u003ePowershell\u003c/code\u003e, \u003ccode\u003eShell\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each dictating how a source will be executed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNone\u003c/code\u003e interpreter setting indicates that the source will be executed directly, which only works for executables and scripts with shebang lines.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShell\u003c/code\u003e option executes scripts with \u003ccode\u003e/bin/sh\u003c/code\u003e on Linux and \u003ccode\u003ecmd.exe\u003c/code\u003e on Windows systems, whereas \u003ccode\u003ePowershell\u003c/code\u003e runs scripts using PowerShell.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available in this list is version 2.4.0, and each version has a corresponding link to the documentation.\u003c/p\u003e\n"]]],[],null,[]]