Skip to content

Commit

Permalink
AsJob
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-shandar committed Dec 5, 2017
1 parent 8285582 commit 9c141ae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ public class NewAzureVMCommand : VirtualMachineBaseCmdlet
[Parameter(ParameterSetName = SimpleParameterSet, Mandatory = false)]
public string Size { get; set; } = "Standard_DS1_v2";

[Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
public SwitchParameter AsJob { get; set; }

public override void ExecuteCmdlet()
{
switch (ParameterSetName)
Expand Down

0 comments on commit 9c141ae

Please sign in to comment.