Bird
0
0

You want to schedule a PowerShell script to run every Wednesday at 4 AM, but only if the system has been idle for 15 minutes. Which Task Scheduler settings should you configure?

hard📝 Application Q8 of 15
PowerShell - Automation Patterns
You want to schedule a PowerShell script to run every Wednesday at 4 AM, but only if the system has been idle for 15 minutes. Which Task Scheduler settings should you configure?
ASet the trigger to weekly on Wednesday at 4 AM and enable the 'Start the task only if the computer is idle for' option with 15 minutes
BSet the trigger to daily at 4 AM and disable idle conditions
CSet the trigger to weekly on Wednesday at 4 AM and disable the idle condition
DSet the trigger to monthly on the first Wednesday and enable the idle condition for 5 minutes
Step-by-Step Solution
Solution:
  1. Step 1: Define trigger schedule

    The task should run weekly on Wednesday at 4 AM.
  2. Step 2: Configure idle condition

    Enable 'Start only if computer is idle' and set idle time to 15 minutes.
  3. Final Answer:

    Set the trigger to weekly on Wednesday at 4 AM and enable the 'Start the task only if the computer is idle for' option with 15 minutes -> Option A
  4. Quick Check:

    Use weekly trigger plus idle condition [OK]
Quick Trick: Combine weekly trigger with idle condition for scheduling [OK]
Common Mistakes:
  • Using daily instead of weekly trigger
  • Disabling idle condition when needed
  • Setting incorrect idle time or frequency

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes