Course Overview

This course is the second part of the Build Your Own Tools series. If you are already familiar with the basics of PowerShell (you can use the pipeline, know about the objects, proficient in flow control elements of the PowerShell programming language and you have already written basic functions and scripts) then this course is for you to step up to the next level.  

In this course, you can learn through a lot of demos how to store configuration data separated from scripts, import that data, make the configuration file dynamic so that settings are automatically selected based on the environment (DEV, UAT, PROD), and store secrets in configuration files securely. 

By the end of the course, you will be known as a PowerShell developer who can write scripts that store their configuration data in a professional way.

What You Will Learn

  • The legacy options to store configuration data in a file
  • What is a PSD1 file
  • How to store static data separated from the code
  • How to store and invoke scriptblocks in a PSD1 file
  • How to store secrets in a PSD1 file and how to read them
  • How to use multiple configuration files

Program Curriculum

  • Section Introduction?
  • Introduction to Configuration Data, Review the Options to Store Configuration?
  • Introduction to Configuration Data, Options to Store Configuration - Demo?
  • Anatomy of PSD1 Files, Importing and Using Configuration Data Imported from a PSD1 File?
  • Anatomy of PSD1 Files, Importing and Using Configuration Data Imported from a PSD1 File – Demo?
  • $7 Million Cybersecurity Scholarship by EC-Council
  • Chapter 1 Lab
  • Chapter 1 Quiz

  • Review PSD1 Files and the Handling of Hashtables?
  • Parse the Config Hashtable and Invoke the Scriptblocks?
  • Add Conditional Sections to the Configuration?
  • Add Conditional Sections to the Configuration - Demo??
  • Use Multiple Configuration Files – Part 1?
  • Use Multiple Configuration Files – Part 2?
  • Chapter 2 Lab
  • Chapter 2 Quiz

  • Investigate Secure Strings?
  • Encrypt and Decrypt Secrets Using Certificates?
  • Extend Our Script to Read Encrypted Secrets from Config Files
  • Chapter 3 Lab
  • Chapter 3 Quiz

Instructor

Tibor Soós

Tibor Soós worked as a Microsoft Certified Trainer and had been awarded to be a Most Valuable Professional for PowerShell by Microsoft between 2008 and 2013. He has written a free online PowerShell book and developed multiple PowerShell courses. Tibor has worked as a Systems Engineer and as an IT Architect at major financial and manufacturing companies. Tibor now works as a freelance PowerShell developer and expert mainly participating in Identity and Access Management automation and integration projects.

Join over 1 Million professionals from the most renowned Companies in the world!

certificate

Empower Your Learning with Our Flexible Plans

Invest in your future with our flexible subscription plans. Whether you're just starting out or looking to enhance your expertise, there's a plan tailored to meet your needs. Gain access to in-demand skills and courses for your continuous learning needs.

Monthly Plans
Annual Plans
Save 20% with our annual plans!

Pro

Ideal for continuous learning, offering extensive resources with 600+ courses and diverse Learning Paths to enhance your skills.

$ 499.00
Billed annually or $59.00 billed monthly

What is included

  • 700+ Premium Short Courses
  • 50+ Structured Learning Paths
  • Validation of Completion with all courses and learning paths
  • New Courses added every month
Early Access Offer

Pro +

Experience immersive learning with Practice Labs, CTF Challenges, and exclusive EC-Council certifications for comprehensive skill-building.

$ 599.00
Billed annually or $69.00 billed monthly

Everything in Pro and

  • 800+ Practice Lab exercises with guided instructions
  • 150+ CTF Challenges with detailed walkthroughs
  • New Practice Labs and Challenges added every month
  • 3 Official EC-Council Essentials Certifications¹ (retails at $897!)
    Exclusive Bonus with Annual Plans

¹This plan includes Digital Forensics Essentials (DFE), Ethical Hacking Essentials (EHE), and Network Defense Essentials (NDE) certifications. No other EC-Council certifications are included.

Related Courses

1 of 8