< Back

Set-ACDLabAutoShutdown

Fri Jan 10, 2020 6:33 pm

NAME Set-ACDLabAutoShutdown



SYNOPSIS

Configures ACD training labs to automatic shutdown at the specified time.

Current this is hard coded to 1900 Easter Standard Time.





SYNTAX

Set-ACDLabAutoShutdown [[-ResourceGroupName] <String>] [[-ShutdownTime] <Int32>] [[-ShutdownTimeZone] <String>]

[<CommonParameters>]





DESCRIPTION





PARAMETERS

-ResourceGroupName <String>



Required? false

Position? 1

Default value ^Student

Accept pipeline input? false

Accept wildcard characters? false



-ShutdownTime <Int32>



Required? false

Position? 2

Default value 1900

Accept pipeline input? false

Accept wildcard characters? false



-ShutdownTimeZone <String>

Specifies the time zone the VM is in. Default is Eastern Standard Time.



Required? false

Position? 3

Default value Eastern Standard Time

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-ACDLabAutoShutdown



This example will apply the auto shutdown policy to all VMs a resource groups that starts with Student.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Set-ACDLabAutoShutdown -ResouceGroupName Student5 -ShutdownTime 2100



This example will apply the auto shutdown policy to the VM in the Student5 resource group at 2100 (9 PM)











RELATED LINKS