How to Shutdown devices using Azure AD

Jose Martinez 1 Reputation point
2022-11-23T21:53:30.693+00:00

Hello,
At my job we have a computer room, and all the computers in that room are joined to our Azure AD. It is a little time consuming to shut them down one at a time at the end of the week. So, I wanted to know how I can shut them down from my admin portal in Azure. I've been looking at the many features of this service, but all I can see is the restart option.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,458 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 54,466 Reputation points
    2022-11-23T22:50:44.15+00:00

    Hi @Jose Martinez

    There is no native functionality in Intune/MEM to shut down a device. You could schedule a task that runs every Friday at X time that runs a PowerShell script that includes shutdown /s.

    How to Automate PowerShell Scripts with Task Scheduler

    https://blog.netwrix.com/2018/07/03/how-to-automate-powershell-scripts-with-task-scheduler/

    For example, the schedule could look like:

    263574-image.png

    -------------------------------------

    If this is helpful please accept answer.