• Complain

Lee Holmes - PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell

Here you can read online Lee Holmes - PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Lee Holmes PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell
  • Book:
    PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2021
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

How do you use PowerShell to navigate the filesystem, manage files and folders, or retrieve a web page? This introduction to the PowerShell language and scripting environment provides more than 400 task-oriented recipes to help you solve all kinds of problems. Intermediate to advanced system administrators will find more than 100 tried-and-tested scripts they can copy and use immediately.
Updated for PowerShell 5.1 and Open Source PowerShell up to 7.0 and beyond, this comprehensive cookbook includes hands-on recipes for common tasks and administrative jobs that you can apply whether youre on the client or server version of Windows. You also get quick references to technologies used in conjunction with PowerShell, including regular expressions, the XPath language, format specifiers, and frequently referenced .NET, COM, and WMI classes.
  • Learn how to use PowerShell on Windows 10 and Windows Server 2019
  • Tour PowerShells core features, including the command model, object-based pipeline, and ubiquitous scripting
  • Master fundamentals such as the interactive shell, pipeline, and object concepts
  • Perform common tasks that involve working with files, internet-connected scripts, user interaction, and more
  • Solve tasks in systems and enterprise management, such as working with Active Directory and the filesystem
Complimentary Online Access! As an additional incredible benefit, owners of the PowerShell Cookbook get free, perpetual, searchable, online access to the book at powershellcookbook.com.

Lee Holmes: author's other books


Who wrote PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell? Find out the surname, the name of the author of the book and a list of all author's works by series.

PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
PowerShell Cookbook by Lee Holmes Copyright 2021 Lee Holmes All rights - photo 1
PowerShell Cookbook

by Lee Holmes

Copyright 2021 Lee Holmes. All rights reserved.

Printed in the United States of America.

Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .

  • Acquisitions Editor: Suzanne McQuade
  • Development Editor: Angela Rufino
  • Production Editor: Kate Galloway
  • Copyeditor: Stephanie English
  • Proofreader: James Fraleigh
  • Indexer: Judith McConville
  • Interior Designer: David Futato
  • Cover Designer: Karen Montgomery
  • Illustrator: Kate Dullea
  • October 2007: First Edition
  • August 2010: Second Edition
  • January 2013: Third Edition
  • June 2021: Fourth Edition
Revision History for the Fourth Edition
  • 2021-06-16: First Release

See http://oreilly.com/catalog/errata.csp?isbn=9781098101602 for release details.

The OReilly logo is a registered trademark of OReilly Media, Inc. PowerShell Cookbook, the cover image, and related trade dress are trademarks of OReilly Media, Inc.

The views expressed in this work are those of the author, and do not represent the publishers views. While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.

978-1-098-10160-2

[LSI]

Foreword

Welcome to the fourth edition of the Windows PowerShell Cookbook!

Ooops. I got that wrong. Let me try again.

Welcome to the fourth edition of the Windows PowerShell Cookbook!

The name change says it all. Just as the Windows PowerShell Cookbook deserved a place on the desk of every Windows admin, the PowerShell Cookbook deserves a place on desk of every admin.

The PowerShell team always focused on giving admins the tools needed to become the heroes of their company. But the team worked for Microsoft, and as former Microsoft CEO Steve Ballmer used to say, Windows is the air we breathe. Thats why the first three editions of this book were titled the Windows PowerShell Cookbook.

From the very beginning, the team wanted to support Linux. We knew that fragmented technologies produced fragmented organizations. Instead of having an admin team, companies organized into siloed Windows admin teams and Linux admin teams. We wanted to deliver a single tool for all admins, regardless of platform (Windows or Linux), regardless of skill level (simple interactive user, first-time scripter, advanced systems developers), and regardless of what they managed (Azure, AWS, Google, VMware, etc.). But our ambition was gated by our .NET dependency. Everything changed when .NET started porting to Linux. The first version of .NET Core was cross-platform, and we ported to it as soon as possible. The result was PowerShell Core v6, which ran on both Windows and Linux. The industry took notice. Our launch partners included VMware, Google, and AWS: not your typical set of Microsoft partners.

PowerShell Core was great for Linux, but the small number of .NET Core libraries meant that it was less capable than Windows PowerShell v5 in several important areas. Windows users were faced with a choice: Windows PowerShell or PowerShell Core. All that changed in 2020 with the v7 release of PowerShell. That was built upon .NET Core 3.1, which dramatically increased compatibility on Windows. That combined with substantial work on our part produced a no-compromise version. We changed the name, dropping both Windows and Core. With version 7, theres just PowerShellthe single tool for all teams to manage anything thats in their environment .

And just as Windows PowerShell evolved to better meet the needs of admins who want to manage anything, so too, this Cookbook has evolved to better meet the needs of those same admins. This is a major edition of the book with more than 30,000 deletions and more than 35,000 additions. Lee starts the book with , a drill-in on eight key PowerShell concepts. With this foundation, youre ready to solve some problems. The next 10 sections are focused on common tasks like code reuse, debugging, tracing, and error management. I like to joke that there is solving a problem and there is solving a problem in a way you dont regret a month later. These sections teach you the latter. These are the hard-earned lessons of how to write no-regrets PowerShell for production environments. The next 12 sections cover specific administrator tasks like dealing with files and directories, the Windows registry, active directory, and remoting.

While many of these topics were covered in previous editions, this edition brings them up-to-date with the latest and greatest tools in the PowerShell ecosystem including the Windows Terminal, Visual Studio Code, and SSH, and the lessons and perspective that can only be earned through a couple decades of in-the-trench experiences. As the saying goes, A wise man doesnt learn from his mistakes. A wise man learns from the mistakes of others. So you can spend the next two decades learning from your own mistakes, or you can read this book and learn from Lee, who has been a superstar on the team since the day he joined the original v1 team.

The thing I love the most about the PowerShell Cookbook is that it teaches the reader how to think about problems. Yes, there are hundreds of pages of solutions to specific problems and that alone would make this book a must-have for every admin. But Lee has a teach a person to fish mindset, and each of his solutions sets you up to solve SETs of problems.

So how does one approach a book that has more than a thousand pages?

Certainly, many will get a lot from reading , and then hopping to a particular section when a problem arises.

I think a better approach for beginners is grounded in Lev Vygotskys activity theory. Vygotsky identified the distinction between competence and performance. He pointed out that our performance can exceed our competence when we are being directed by an expert. Imagine the case where I want to find all the files modified before a certain date but dont know any PowerShellI am not (yet) competent to perform this task. But because I was smart enough to buy this book, all I do is open to . There I see the solution. I type the commands and I am performing a very sophisticated task. Lee (expert) helps me solve a complex problem (perform) even though I dont know PowerShell (competence).

As awesome as that is, the magic occurs with the next step. Now that Im able to successfully perform a complex task, I can now experiment, and in experimenting, I establish and grow my competence.

I run the commands. Then I intentionally make a mistake and see what the error message is. Next time I see that error message, I now know what mistake I made. From here, I look up the commands with

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell»

Look at similar books to PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell»

Discussion, reviews of the book PowerShell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.