Windows 10 Task Schedule and Group Policy via Command Line or PS?

~OSD~ 1,901 Reputation points


  1. A task schedule is exported in xml format. Is it possible to import this task schedule via CMD /or PowerShell to other computers.
  2. Similarly, is it supported to apply a group policy via command prompt CMD or PS?
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,903 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,835 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,094 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 69,656 Reputation points MVP

    Register-ScheduledTask should help with #1:

    For #2 it is Import-GPO :


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Andreas Baumgarten

    3 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. ~OSD~ 1,901 Reputation points

    Hi and thanks for reply, will check that out,

    0 comments No comments