Schedule windows device reboot through remediation script using Intune

Zimasa Mpahlwa 0 Reputation points
2024-09-18T11:46:17.8966667+00:00

Schedule reboot script through remediation script using Intune

Microsoft Security | Intune | Configuration
Microsoft Security | Intune | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 13,436 Reputation points MVP
    2024-09-18T14:07:04.6766667+00:00

    You don't need to use remediation script for that if that is too complex. I can use just a regular powershell script which creates Scheduled Task with restart command.

    0 comments No comments

  2. ZhoumingDuan-MSFT 17,360 Reputation points Microsoft External Staff
    2024-09-19T02:43:27.0233333+00:00

    @Zimasa Mpahlwa, Thanks for posting in Q&A.

    From your description, I know you want to schedule reboot windows device through remediation script using Intune.

    Based on my research, we can create a PowerShell script to schedule reboot windows device and upload it into Intune.

    Here are some links you can refer.

    https://woshub.com/how-to-create-scheduled-task-using-powershell/

    https://community.spiceworks.com/t/reboot-intune-devices/939571

    Non-official, just for reference.

    Or we can create a configuration policy to schedule reboot windows device.

    https://www.prajwaldesai.com/schedule-reboot-for-windows-devices-using-intune/

    As for schedule reboot device through remediation script using Intune, here is a link you can refer.

    Endpoint Analytics Proactive Remediations - MSEndpointMgr

    Non-official, just for reference.

    Hope above information can help you. If there is any update, feel free to let me know.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.