Report from Multiple Text Files you own this product

prerequisites
intermediate PowerShell (use variables, common PowerShell built-in cmdlets, loop statements)
skills learned
work with objects with FileInfo type • use the switch statement and its File parameter to process multiple text files • create custom objects • add properties to objects • use methods to modify text strings • export objects to CSV format
Fernando Corrales
1 week · 4-6 hours per week · INTERMEDIATE

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

XYZ Services Company, the consulting and outsourcing firm you work for, is getting up and running after a massive IT infrastructure failure. In the meantime, the Human Resources department would like a report with basic staff data that it will use to distribute payslips to employees. As a PowerShell developer, you’ll use the switch statement and its file parameter to read and extract information from the source files provided by the company’s Active Directory before the system failed, build PowerShell objects, and export them into CSV format—helping HR provide proof of payment and putting your coworkers’ minds at ease.

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

project author

Fernando Corrales
Fernando Corrales is a cloud engineer with several years of IT experience in multinational companies. He’s worked extensively with VMware products, focusing on private cloud automation with PowerCLI and PowerShell, in addition to delivering PowerShell training for some of his recent employers. Fernando holds several technical degrees from the Tecnológico de Costa Rica and has a personal blog: fercorrales.com.

prerequisites

This liveProject is for technology administrators and intermediate-level PowerShell users who want to learn or expand their text and string parsing skills. To begin these liveProjects you’ll need to be familiar with the following:

TOOLS
  • Intermediate PowerShell 7
  • Visual Studio Code with PowerShell extension
  • 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
    • Report from Multiple Text Files project for free