Downtime through command

Downtime through command

Is there a way to schedule or begin a downtime schedule through a command prompt or using Powershell?