Disable-LabMachineAutoShutdown

SYNOPSIS

Disable Azure auto-shutdown for machines

SYNTAX

Disable-LabMachineAutoShutdown [[-ComputerName] <Machine>] [[-Time] <TimeSpan>] [<CommonParameters>]

DESCRIPTION

Disable Azure auto-shutdown for machines

EXAMPLES

Example 1

PS C:\> Disable-LabMachineAutoShutdown

Clears all shutdown schedules for all machines

PARAMETERS

-ComputerName

List of AutomatedLab VMs to clear schedule for

Type: Machine
Parameter Sets: (All)
Aliases:

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

-Time

The time to clear

Type: TimeSpan
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
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

None

OUTPUTS

System.Object

NOTES