A Windows system administrator needs to ensure a specific server reboots automatically every Sunday at 2 AM to finalize weekly updates. Which of the following represents the most suitable and modern approach for automating this repetitive task on a Windows operating system?
Create a PowerShell script to handle the reboot and use the Windows Task Scheduler to run it on a weekly schedule.
Configure a 'cron' job to execute a shell script that performs the reboot.
Develop a VBScript file that calls the shutdown command and trigger it using a Group Policy Object (GPO).
Write a batch file that uses the 'at' command to schedule the reboot.
The Windows Task Scheduler is the standard built-in utility for automating tasks, such as running scripts or programs on a defined schedule. For modern Windows administration, PowerShell is the preferred scripting language for system tasks like initiating a reboot. Therefore, combining a PowerShell script with a scheduled task is the most appropriate and modern solution. The 'at' command is a deprecated tool in Windows. A 'cron' job is a task scheduler used on Linux and other Unix-like operating systems. While VBScript could be used, PowerShell is the current standard for Windows system administration tasks.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the Windows Task Scheduler?
Open an interactive chat with Bash
Why is PowerShell preferred over VBScript for system administration?
Open an interactive chat with Bash
What is the difference between Task Scheduler and cron jobs?
Open an interactive chat with Bash
CompTIA A+ 220-1102 (V14)
Operational Procedures
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .