A practical foundation in PowerShell commands, modules, data, objects, operators, and control flow
Chris Dent

#PowerShell
#Operators
⚙️ پایههای PowerShell را محکم بساز؛ اولین قدم برای خودکارسازی کارهای روزمره
💻 با یادگیری کشف دستورها، ماژولها، متغیرها، اشیا، Pipelineها، عملگرها، عبارتهای شرطی و حلقهها، پایهای قوی در PowerShell به دست بیار؛ همراه با مثالهای روشن که برای شروع اسکریپتنویسی و خودکارسازی کارهای روزمره آمادهات میکنن.
📝 نقد و بررسی
💭 «تمام موضوعاتی را که یک کاربر مبتدی PowerShell نیاز داره پوشش میده و در عین حال، بهاندازه کافی عمیقه تا بتونی بهراحتی نوشتن اسکریپتها و تابعهای خودت را شروع کنی.»
— هارم وینسترا، دارنده عنوان MVP در PowerShell و نویسنده وبلاگ PowerShellisfun.com
✨ ویژگیهای کلیدی
🧱 ساخت پایهای محکم در PowerShell با یادگیری دستورها، ماژولها، متغیرها، اشیا و عملگرها.
🔗 یادگیری کار مؤثر با Pipeline در PowerShell و خروجیهای مبتنی بر اشیا.
🧠 پیادهسازی منطق کاربردی با مقایسهها، شرطها، دستورهای switch و حلقهها.
📘 توضیح کتاب
🚀 کتاب PowerShell Fundamentals مقدمهای روشن و ساختاریافته بر مفاهیم اصلی موردنیاز برای شروع کار مطمئن با PowerShell ارائه میده. مطالب برای خوانندگانی طراحی شدن که تجربه کمی در PowerShell دارن یا هنوز با اون کار نکردن.
🖥️ مسیر آموزش با خط فرمان، ویرایشگرها، سیستم راهنما، کشف دستورها، پارامترها، Providerها، Profileها و سایر قابلیتهای ضروری شروع میشه تا با محیط و ابزارهای پایه PowerShell آشنا بشی.
📦 در ادامه، یاد میگیری ماژولها و مخزنها را پیدا کنی و از اونها برای نصب و استفاده از ماژولها بهره ببری. سپس سراغ متغیرها، آرایهها، جدولهای هش یا Hashtableها و مجموعههای دارای ترتیب میری.
🧩 کتاب رویکرد مبتنی بر اشیای PowerShell را توضیح میده و نشان میده چطور با Pipelineها کار کنی، اعضای اشیا را بررسی کنی، دادهها را فیلتر کنی و روی عناصرشون پیمایش انجام بدی. انتخاب و مرتبسازی نتایج، گروهبندی و اندازهگیری اطلاعات، مقایسه اشیا و ورود، خروج، تبدیل و قالببندی دادهها هم در همین مسیر آموزش داده میشن.
🔄 فصلهای پایانی، پایههای اسکریپتنویسی را با عملگرهای PowerShell، عبارتهای شرطی، دستورهای switch و حلقهها تکمیل میکنن تا بتونی منطق تصمیمگیری و اجرای تکرارشونده را در دستورها و اسکریپتها به کار بگیری.
🎯 در پایان، ساختارهای بنیادی زبان و روشهای کار با داده را میشناسی؛ مهارتهایی که برای درک دستورها، ترکیب مؤثر اونها و شروع ساخت اسکریپتهای کاربردی و گردشکارهای خودکارسازی PowerShell نیاز داری.
🎯 چیزهایی که یاد میگیری
🧭 کار در محیط PowerShell و استفاده از قابلیتهای راهنما و کشف دستورها.
📦 پیدا کردن، نصب و استفاده از ماژولهای PowerShell.
🗂️ ایجاد و مدیریت متغیرها، آرایهها و Hashtableها.
🔗 کار با اشیا، Pipelineها، فیلترکردن، مرتبسازی و قالببندی دادهها.
➗ استفاده از عملگرهای حسابی، مقایسهای، منطقی، انتساب و سایر عملگرها.
🔀 ساخت منطق تصمیمگیری با if، elseif، else و switch.
🔁 خودکارسازی منطق تکرارشونده با حلقههای PowerShell.
🛑 استفاده از break و continue برای کنترل اجرای اسکریپت.
👤 این کتاب برای چه کسانیه؟
👨💻 این کتاب برای علاقهمندان به مدیریت سیستم، متخصصان IT، توسعهدهندگان، دانشجویان و مبتدیهایی نوشته شده که میخوان PowerShell را از پایه یاد بگیرن.
📚 آموزش با خط فرمان و سیستم راهنمای PowerShell شروع میشه و بهتدریج به ماژولها، متغیرها، آرایهها، Hashtableها، اشیا، عملگرها، عبارتهای شرطی و حلقهها میرسه.
🌱 آشنایی اولیه با سیستمعاملها کمککننده است؛ اما هیچ تجربه قبلی در PowerShell لازم نیست.
📖 فهرست مطالب
فصل ۱. مقدمهای بر PowerShell
فصل ۲. ماژولها
فصل ۳. متغیرها، آرایهها و Hashtableها
فصل ۴. کار با اشیا در PowerShell
فصل ۵. عملگرها
فصل ۶. عبارتهای شرطی و حلقهها
فصل ۷. دسترسی به مزایای اختصاصی کتاب
👤 درباره نویسنده
👨💻 کریس دنت، متخصص خودکارسازی با تسلط عمیق بر زبان PowerShell است. او اغلب در گروههای کاربران PowerShell در بریتانیا و گروههای مجازی، به پرسشهای مربوط به این زبان پاسخ میده.
🛠️ کریس از سال ۲۰۰۷ با PowerShell توسعه نرمافزار انجام میده و در طول این سالها چندین ماژول منتشر کرده است.
Build a strong PowerShell foundation by learning command discovery, modules, variables, objects, pipelines, operators, conditional statements, and loops, with clear examples that prepare you to start scripting and automating everyday tasks
It covers all the topics you need as a beginner PowerShell user, while still providing enough depth to easily start writing your own scripts and functions.
Harm Veenstra, MVP PowerShell & Blogger at PowerShellisfun.com
PowerShell Fundamentals provides a clear, structured introduction to the core concepts you need to start using PowerShell confidently. Designed for readers with little or no PowerShell experience, the book begins with the command line, editors, the help system, command discovery, parameters, providers, profiles, and other essential features.
You will then learn how to discover, install, and use modules and repositories before working with variables, arrays, hashtables, and ordered collections. The book explains PowerShell's object-based approach and shows how to use pipelines, inspect object members, filter and enumerate data, select and sort results, group and measure information, compare objects, and import, export, convert, and format data.
The final chapters build your scripting foundation with PowerShell operators, conditional statements, switch statements, and loops. By the end, you will understand the fundamental language constructs and data-handling techniques needed to read commands, combine them effectively, and begin creating useful PowerShell scripts and automation workflows.
This book is for aspiring system administrators, IT professionals, developers, students, and complete beginners who want to learn PowerShell from the ground up. It introduces the PowerShell command line and help system before progressing through modules, variables, arrays, hashtables, objects, operators, conditional statements, and loops. Basic familiarity with operating systems is helpful, but no prior PowerShell experience is required.
Table of Contents
Chapter 1. Introduction to PowerShell
Chapter 2. Modules
Chapter 3. Variables, Arrays, and Hashtables
Chapter 4. Working with Objects in PowerShell
Chapter 5. Operators
Chapter 6. Conditional Statements and Loops
Chapter 7. Unlock Your Exclusive Benefits
About the Author
Chris Dent is an automation specialist with deep expertise in the PowerShell language. Chris is often found answering questions about PowerShell in both the UK and virtual PowerShell user groups. Chris has been developing in PowerShell since 2007 and has released several modules over the years.









