
- English
- ePUB (mobile friendly)
- Available on iOS & Android
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
Frequently asked questions
- 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.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Cover
- Front Matter
- 1. Introduction
- 2. Beginnersâ Guide to PowerShell and Visual Studio Code
- 3. Variables
- 4. Conditional Statements
- 5. Loops
- 6. Arrays
- 7. Functions
- 8. Classes
- 9. Customizing the Console
- 10. User Input
- 11. Dragon Slayer
- 12. Getting Colorful
- 13. ASCII Table
- 14. Cursor Control
- 15. Background Processing
- 16. Networking
- 17. Working with Files
- 18. Sound
- 19. Game Engine
- 20. Creating Game Artwork
- 21. PowerBomber
- Back Matter