Add-ScriptBundle

Uploads the script bundle to the Auto Deploy server.The name of the script bundle will be used as the identifier for the object minus the tgz extension.The script bundles will be treated just like ImageProfiles. A script bundle object can be associated with the rule.Once uploaded Get-ScriptBundle cmdlet can be used to retrieve script bundles and used for rule creation.You must have the "AutoDeploy.Profile.Edit" privilege on the root folder of vCenter Server to use this cmdlet.

Syntax

-FileUri  <String>
[-Update]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
FileUri
String named
  • pipeline
  • optional
    Update
    SwitchParameter named Updates the cache of the Auto Deploy server if this parameter is passed and the bundle already exists .

    Output

    Examples


    Example 1

    C:\PS> Add-ScriptBundle "file:///c:/temp/script-bundle-0.tgz"

    Uploads the script bundle located at the path to the Auto Deploy Server.

    Related Commands

    Feedback

    Was this page helpful?