Jump to ratings and reviews
Rate this book

PowerShell Programming, In 8 Hours, For Beginners, Learn Coding Fast: PowerShell Language Crash Course Textbook & Exercises

Rate this book
About This Book
"PowerShell Programming" is a textbook for high school and college students; it covers all essential PowerShell language knowledge. You can learn complete primary skills of PowerShell programming fast and easily.
The textbook includes a lot of practical examples for beginners and includes exercises for the college final exam, the engineer certification exam, and the job interview exam.
"PowerShell Programming" is a useful textbook for beginners. The straightforward definitions, the plain examples, the elaborate explanations and the neat layout feature this helpful and educative book. You will be impressed by its distinctive and tidy writing style. Reading this book is a great enjoyment!

Note
This book is only suitable for programming beginners, high school students and college students; it is not for the experienced programmers.



Table of Content

Hour 1
What is PowerShell?
Start PowerShell
PowerShell Commands
Get Command Alias
Get Commands with Verb
Get Commands with Noun
Command with * Character
Help Command
Man Command
Get Service
Arithmetical Operation
Execute external commands
Create a PowerShell File
View the PowerShell File

Hour 2
Comment
Variable
Variable Name
Data Type
Specify Data Type
Date Time Type
Create an Array
Polymorphic Array
Access Array
Array Element
Insert, Remove Element
Clone Array

Hour 3
Comparison Operators
Logical Not
Boolean Operators
Arithmetic Operators
Assignment Operators
Increase / Decrease Operators
If-elseif-else
Switch Statement

Hour 4
For Loop
Foreach Loop
$_ Symbol
While Loop
Do-While Loop
Break Statement
Continue Statement
Switch and $_

Hour 5
Function
Function with Argument
Return Values
Return Value Operation
Default Parameters
Specify Parameter Type
Datatime Parameter
Switch Parameters
Filter Function
Pipeline Function

Hour 6
String
$_ in the string
Escape Character
Multi-Line String
User Interaction
Password Input
Replacement
String Operators
Format String
String Method
String Object Methods

Hour 7
Object
About New-Object
DateTime Object
Object Member
Object Method
Object Property
Add Property
Add Method
Check Property
Check Method

Hour 8
PowerShell Pipeline
Foreach-Object
Where-Object
Select-Object
Sort-Object
Tee-Object
Group-Object
Measure-Object
Compare-Object

Appendix 1
Error
Exception
Trap Exception

Appendix 2
Questions
Answers



The paperback edition of this book is displaying in the lower section of this page, please click the book link for purchase.

132 pages, Kindle Edition

Published March 2, 2022

8 people are currently reading

About the author

Ray Yao

539 books8 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
1 (100%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.