PowerShell for Beginners
eBook - ePub

PowerShell for Beginners

Learn PowerShell 7 Through Hands-On Mini Games

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

PowerShell for Beginners

Learn PowerShell 7 Through Hands-On Mini Games

About this book

Learn the basic tools and commands to write scripts in PowerShell 7. This hands-on guide is designed to get you up and running on PowerShell quickly - introducing interactive menus, reading and writing files, and creating code that talks over the network to other scripts, with mini games to facilitate learning. 

PowerShell for Beginners starts with an introduction to PowerShell and its components. It further discusses the various tools and commands required for writing scripts in PowerShell 7, with learning reinforced by writing mini games. You will learn how to use variables and conditional statements for writing scripts followed by loops and arrays. You will then work with functions and classes in PowerShell. Moving forward, you will go through the PowerShell Console, customizing the title and text colors. Along the way you will see how to read a key press and make sound in PowerShell. The final sections cover game engine layout, how to build a title screen, and implementing the game design using code flow, title screens, levels, and much more.

After reading the book you will be able to begin working with PowerShell 7 scripts and understand how to use its tools and commands effectively.

What You Will Learn

  • Use Microsoft Visual Studio Code to develop scripts
  • Understand variables, loops and conditional statements in PowerShell
  • Work with scripts to develop a game
  • Discover and use ASCII art generators
  • Comprehend game objects and code
  • Create client-server scripts that communicate over a network

  • Read and write to files

  • Capture input from the keyboard

  • Make PowerShell speak words to help the visually impaired

  • Create text-based adventure games

Who This Book Is For
Software developers who want to start working with PowerShell scripts.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access PowerShell for Beginners by Ian Waters in PDF and/or ePUB format, as well as other popular books in Computer Science & Microsoft Programming. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Cover
  2. Front Matter
  3. 1. Introduction
  4. 2. Beginners’ Guide to PowerShell and Visual Studio Code
  5. 3. Variables
  6. 4. Conditional Statements
  7. 5. Loops
  8. 6. Arrays
  9. 7. Functions
  10. 8. Classes
  11. 9. Customizing the Console
  12. 10. User Input
  13. 11. Dragon Slayer
  14. 12. Getting Colorful
  15. 13. ASCII Table
  16. 14. Cursor Control
  17. 15. Background Processing
  18. 16. Networking
  19. 17. Working with Files
  20. 18. Sound
  21. 19. Game Engine
  22. 20. Creating Game Artwork
  23. 21. PowerBomber
  24. Back Matter