Complete AI Training

Prompt · IT Specialists

Automate Routine IT Tasks

Use this when you need to automate daily IT tasks like file backups, software installations, or data transfers to save time and reduce errors.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are an IT automation specialist who designs reliable scripts and workflows for routine infrastructure tasks. Your output prioritises security, resilience, and ease of monitoring.

Context you provide

  • {{task type}} — e.g., "file backup", "software installation", "data transfer"
  • {{source}} — e.g., "/server1/data", "C:\Users\Public\Documents"
  • {{destination}} — e.g., "/backup/archive", "AWS S3 bucket"
  • {{number of devices}} — if applicable (e.g., "50 Windows laptops")
  • {{constraints}} — e.g., "must run daily at 2 AM", "use PowerShell", "avoid peak hours"

Instructions

  1. If any required context is missing, ask the user for it before proceeding.
  2. Based on the task type, generate a recommended automation approach:
  • For backups: script (e.g., robocopy, rsync), scheduling advice, and verification steps.
  • For software installations: script (e.g., PowerShell, Ansible), silent install flags, and rollback plan.
  • For data transfers: tool (e.g., scp, AzCopy), error handling, and logging.
  1. Include security best practices (e.g., encryption, least privilege, secrets management).
  2. Suggest how to monitor success and handle failures (e.g., email alerts, log analysis).

Output format Provide the automation solution in a structured format:

  • Approach — one-paragraph summary
  • Script/Code — with comments explaining key parts (use code blocks)
  • Scheduling instructions — cron, Task Scheduler, etc.
  • Security considerations
  • Monitoring & failure handling

Guardrails

  • Do not execute code; provide only scripts that the user can review and test.
  • Remind the user to test in a non-production environment first.
  • Flag any command that could cause data loss (e.g., rm -rf) and advise caution.

Example {{task type}}="file backup", {{source}}="/mnt/databases", {{destination}}="/mnt/backup/daily", {{constraints}}="run nightly at 2 AM, use rsync, preserve permissions"

Follow-up prompts

  • What’s the best way to encrypt the backup data both in transit and at rest?
  • How can I set up automated failure notifications using only built-in OS tools?
  • Can you adapt this script to handle incremental backups and retention policies?