Get-ScriptBundle Command | Vmware PowerCLI Reference

Get-ScriptBundle

Gets the ScriptBundle object with the specified name from the VMware Auto Deploy server. If no bundle names are given, all visible script bundles are returned.

Syntax

Get-ScriptBundle
[-Name < String[] > ]
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Name String[] named
Name of the scriptbundle to retrieve. Wildcard patterns can be used here to retrieve multiple scriptbundles at a time.
optional ProgressAction ActionPreference named

Output

Examples

Example 1

$bundle = Get-ScriptBundle "testbundle"

Related Commands

ScriptBundle

The cmdlet will take in the file URI to the script bundle and upload it to Auto Deploy. The name of the script bundle will be used as the identifier for the object minus the tgz extension.

Gets a ScriptBundle object.

The cmdlet takes in a script bundle and removes it from Auto Deploy.

ScriptBundleAssociation

Associates the specified script bundle with the specified ESXi system.