VagrantPowerShellSettingsExtensions.

RunCommand(VagrantPowerShellSettings, string) Method

Summary

Sets the command to run in the PowerShell session

Syntax

public static VagrantPowerShellSettings RunCommand(this VagrantPowerShellSettings settings, string command)

Parameters

Name Type Description
settings VagrantPowerShellSettings The settings
command string REQUIRED: The command to run in the session.

Return Value

Type Description
VagrantPowerShellSettings The updated settings object