Skip to content

Latest commit

 

History

History
101 lines (75 loc) · 2.06 KB

Invoke-VagrantProvisioner.md

File metadata and controls

101 lines (75 loc) · 2.06 KB
external help file Module Name online version schema
Vagrantey-help.xml
Vagrantey
2.0.0

Invoke-VagrantProvisioner

SYNOPSIS

Re-runs provisioning against a vagrant environment.

SYNTAX

Specific

Invoke-VagrantProvisioner [-Environment] <String> -Provisioner <String> [<CommonParameters>]

All

Invoke-VagrantProvisioner [-Environment] <String> [-All] [<CommonParameters>]

DESCRIPTION

If a vagrant box has already been provisioned, forces execution of the specified provisioner(s).

EXAMPLES

EXAMPLE 1

Invoke-VagrantProvisioner -Environment Test -All

Re-runs all defined provisioners for Test vagrant host.

EXAMPLE 2

Invoke-VagrantProvisioner -Environment Test -Provisioner Shell

Re-runs the shell provisioner against the Test vagrant host.

PARAMETERS

-Environment

The vagrant environment to re-provision.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-All

Re-run all defined provisioners in the Vagrantfile of the specified environment.

Type: SwitchParameter
Parameter Sets: All
Aliases:

Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Provisioner

Specific provisioner to execute from the Vagrantfile of the specified environment

Type: String
Parameter Sets: Specific
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

General notes

RELATED LINKS