Remove-ScriptBundle Command | Vmware PowerCLI Reference

Remove-ScriptBundle

Removes a script bundle from the Auto Deploy server.Get-ScriptBundle cmdlet can be used to retrieve script bundles.You must have the "AutoDeploy.Rule.Delete" privilege on the root folder of vCenter Server to use this cmdlet.

Syntax

Remove-ScriptBundle
-Bundle < ScriptBundle >
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Bundle ScriptBundle named
optional ProgressAction ActionPreference named

Output

Examples

Example 1

Remove-ScriptBundle "MyBundle"

Removes the script bundle "MyBundle" from the Auto Deploy Server.

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.