Automate IT Tasks

Schedule Scripts for Periodic Jobs you own this product

This project is part of the liveProject series Automate IT Tasks with PowerShell
prerequisites
basic PowerShell
skills learned
handle errors • get data from external sources • PowerShell Gallery • Windows Task Scheduler
William Wade
1 week · 4-6 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

Your manager at RetroToy, an online retailer that sells replacement parts to toy and game hobbyists, needs product data downloaded from a vendor’s API. As an IT professional for the company, this task falls to you. You’ll connect to the data using Invoke-RestMethod, which will automatically parse the JSON result as PSCustomObjects. You’ll handle errors with PowerShell’s Try/Catch/Finally statement, ensuring your code behaves as expected. You’ll also save yourself time and effort by taking advantage of PowerShell Gallery, a central repository for PowerShell content, to find and install a third-party script for logging errors. With Task Scheduler, you’ll automate your daily tasks, giving yourself the freedom to focus on more productive endeavors.

This project is for Windows only.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

William Wade

William Wade is a freelance developer specializing in software automation. As the founder of Dirigo Software Solutions, he pursues his passion for helping businesses leverage technology to improve their productivity. He speaks to local IT user groups about PowerShell and automation.

prerequisites

This liveProject is for beginning IT professionals who are looking for ways to improve their PowerShell skills. To begin these liveProjects you’ll need to be familiar with the following:

TOOLS
  • Basic PowerShell
TECHNIQUES
  • Basic Windows IT administration (set up users, work with files, install software)

you will learn

In this liveProject, you’ll learn how to ensure your scripts run as expected by logging and handling errors, as well as how to automate your scripts and save time and effort by taking advantage of third-party PowerShell resources at your disposal.

  • Use Windows Task Scheduler to schedule running code without user interaction
  • Use the PowerShell Gallery to find third-party modules to use with your scripts
  • Access data on the web using Invoke-WebRequest
  • Handle errors in your code

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Schedule Scripts for Periodic Jobs project for free