توضیحاتی در مورد کتاب :
Packt Publishing, 2014. — 206 p. — ISBN-10: 1782173579، ISBN-13: 978-1-78217-357-1.
Windows PowerShell یک پلت فرم شگفت انگیز برای اسکریپت نویسی و اتوماسیون اداری فراهم می کند. درک زبان PowerShell به شما این امکان را می دهد که زمان کمتری را برای عیب یابی صرف کنید و در صورت نیاز به اشکال زدایی موثرتر باشید. PowerShell همچنین شامل چندین راه برای ارائه بازخورد از کد شما است که زمان عیب یابی و اشکال زدایی شما را سودآورتر می کند. شیوههای کدنویسی بهبودیافته همراه با اطلاعات تشخیصی مفید میتواند به سرعت به نتایج منجر شود.
این کتاب با اطلاعات پسزمینه در مورد اهداف اتوماسیون و ورود PowerShell به اتوماسیون مایکروسافت شروع میشود. استراتژی، و همچنین به این سوال پاسخ می دهد که آیا اسکریپت نویسی (و به طور خاص اسکریپت نویسی PowerShell) اساساً با برنامه نویسی سنتی متفاوت است مروری کوتاه بر ویژگی های اصلی زبان PowerShell همراه با مثال ارائه شده است. تمرکز بر طراحی مناسب اسکریپت و استفاده از ویژگی های PowerShell در تلاش برای کاهش نیاز به عیب یابی است.
آنچه خواهید آموخت: از cmdlet های خروجی PowerShell برای ارائه اطلاعات عیب یابی مورد نیاز خود استفاده کنید؛
از ورودی خط لوله در توابع خود برای کاهش مشکلات ارسال پارامتر استفاده کنید؛
از cmdlet های Write-* برای نمایش اطلاعات مناسب در مکان های مناسب؛
کنترل محیط برای از بین بردن شگفتی ها هنگام اجرای اسکریپت ها؛
ایجاد اسکریپت ها و توابع قدرتمندی که انتظارات را بیان می کند؛
تست های واحد را برای توابع و اسکریپت های PowerShell خود بنویسید تا مطمئن شوید که می توان آنها را اجرا کرد. به درستی.
زمان اشکال زدایی را به حداقل برسانید و با استفاده از ویژگی های منحصر به فرد زبان PowerShell، کارایی عیب یابی را به حداکثر برسانید.
با درک زبان PowerShell، شگفتی های عیب یابی را کاهش دهید.
با استفاده از قابلیتهای منحصربفرد اتصال خط لوله PowerShell از اشتباهات ارسال پارامتر اجتناب کنید.
در جلسات عیبیابی با استفاده از cmdletهای مختلف PowerShell به سؤالاتی مانند چیست، چگونه و چرا پاسخ دهید.
این کتاب برای چه کسانی است:تکنیکهای این کتاب برای مبتدیانی که تازه شروع به یادگیری PowerShell کردهاند و همچنین اسکریپتنویسان پیشرفتهای که درک خوبی از زبان.
تشکیل کتابها با iPad و Amazon Kindle، روی رایانه شخصی که بسیاری از برنامهها را به صورت رایگان میسازد، به عنوان مثال
خواننده جالب (EPUB)،
کالیبر (EPUB، MOBI، AZW3)،
Adobe Digital Editions (EPUB) ,
FBReader (EPUB, MOBI ، AZW3).
توضیحاتی در مورد کتاب به زبان اصلی :
Packt Publishing, 2014. — 206 p. — ISBN-10: 1782173579, ISBN-13: 978-1-78217-357-1.
Windows PowerShell provides an amazing platform for administrative scripting and automation. Understanding the PowerShell language will enable you to spend less time troubleshooting and be more effective when debugging is required. PowerShell also includes several avenues to provide feedback from your code that will make your troubleshooting and debugging time more profitable. Improved coding practices combined with useful diagnostic information can lead to results quickly.
This book starts with background information on the purposes of automation and PowerShell's entrance into Microsoft's automation strategy, and also answers the question of whether scripting (and specifically PowerShell scripting) is essentially different than traditional programming. A brief overview of the main features of the PowerShell language along with examples is provided. Focus is placed on proper script design and use of PowerShell features in an attempt to reduce the need for troubleshooting.
What You Will Learn:Utilize PowerShell output cmdlets to provide the troubleshooting information you need;
Use pipeline input in your functions to reduce parameter passing issues;
Use Write-* cmdlets to expose the right kind of information in the right places;
Control the environment to eliminate surprises when executing scripts;
Create powerful scripts and functions that communicate expectations;
Write unit tests for your PowerShell functions and scripts to ensure that they can be executed correctly.
Minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language.
Reduce troubleshooting surprises by understanding the PowerShell language.
Avoid parameter passing mistakes by using PowerShell's unique pipeline binding capabilities.
Answer questions such as what, how, and why in troubleshooting sessions by utilizing PowerShell's various write- cmdlets.
Who This Book Is For:The techniques in this book apply to beginners who have just started to learn PowerShell, as well as advanced scripters who have a good grasp of the language.
Формат книги совместим с iPAD и Amazon Kindle, на PC открывается многими бесплатными ридерами, например
Cool Reader (EPUB),
Calibre (EPUB, MOBI, AZW3),
Adobe Digital Editions (EPUB),
FBReader (EPUB, MOBI, AZW3).