Learn PowerShell Scripting in a Month of Lunches

Learn PowerShell Scripting in a Month of Lunches PDF Author: Don Jones
Publisher: Manning
ISBN: 9781617295096
Category : Computers
Languages : en
Pages : 0

Get Book

Book Description
Summary Discover how scripting is different from command-line PowerShell, as you explore concrete hands-on examples in this handy guide. The book includes and expands on many of the techniques presented in Learn PowerShell Toolmaking in a Month of Lunches. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Automate it! With Microsoft's PowerShell language, you can write scripts to control nearly every aspect of Windows. Just master a few straightforward scripting skills, and you'll be able to eliminate repetitive manual tasks, create custom reusable tools, and build effective pipelines and workflows. Once you start scripting in PowerShell, you'll be amazed at how many opportunities you'll find to save time and effort. About the Book Learn PowerShell Scripting in a Month of Lunches teaches you how to expand your command-line PowerShell skills into effective scripts and tools. In 27 bite-size lessons, you'll discover instantly useful techniques for writing efficient code, finding and squashing bugs, organizing your scripts into libraries, and much more. Advanced scripters will even learn to access the .NET Framework, store data long term, and create nice user interfaces. What's Inside Designing functions and scripts Effective pipeline usage Dealing with errors and bugs Professional-grade scripting practices About the Reader Written for devs and IT pros comfortable with PowerShell and Windows. About the Authors Don Jones is a PowerShell MVP, speaker, and trainer who has written dozens of books on information technology topics. Jeffery Hicks is a PowerShell MVP and an independent consultant, trainer, and author. Don and Jeff coauthored Manning's Learn Windows PowerShell in a Month of Lunches, Learn PowerShell Toolmaking in a Month of Lunches, and PowerShell in Depth. Table of Contents PART 1 - INTRODUCTION TO SCRIPTING Before you begin Setting up your scripting environment WWPD: what would PowerShell do? Review: parameter binding and the PowerShell pipeline Scripting language crash course The many forms of scripting (and which to use) Scripts and security PART 2 - BUILDING A POWERSHELL SCRIPT Always design first Avoiding bugs: start with a command Building a basic function and script module Going advanced with your function Objects: the best kind of output Using all the pipelines Simple help: making a comment Dealing with errors Filling out a manifest PART 3 - GROWN-UP SCRIPTING Changing your brain when it comes to scripting Professional-grade scripting An introduction to source control with git Pestering your script Signing your script Publishing your script PART 4 - ADVANCED TECHNIQUES Squashing bugs Making script output prettier Wrapping up the .NET Framework Storing data-not in Excel! Never the end

Learn PowerShell Scripting in a Month of Lunches

Learn PowerShell Scripting in a Month of Lunches PDF Author: Don Jones
Publisher: Manning
ISBN: 9781617295096
Category : Computers
Languages : en
Pages : 0

Get Book

Book Description
Summary Discover how scripting is different from command-line PowerShell, as you explore concrete hands-on examples in this handy guide. The book includes and expands on many of the techniques presented in Learn PowerShell Toolmaking in a Month of Lunches. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Automate it! With Microsoft's PowerShell language, you can write scripts to control nearly every aspect of Windows. Just master a few straightforward scripting skills, and you'll be able to eliminate repetitive manual tasks, create custom reusable tools, and build effective pipelines and workflows. Once you start scripting in PowerShell, you'll be amazed at how many opportunities you'll find to save time and effort. About the Book Learn PowerShell Scripting in a Month of Lunches teaches you how to expand your command-line PowerShell skills into effective scripts and tools. In 27 bite-size lessons, you'll discover instantly useful techniques for writing efficient code, finding and squashing bugs, organizing your scripts into libraries, and much more. Advanced scripters will even learn to access the .NET Framework, store data long term, and create nice user interfaces. What's Inside Designing functions and scripts Effective pipeline usage Dealing with errors and bugs Professional-grade scripting practices About the Reader Written for devs and IT pros comfortable with PowerShell and Windows. About the Authors Don Jones is a PowerShell MVP, speaker, and trainer who has written dozens of books on information technology topics. Jeffery Hicks is a PowerShell MVP and an independent consultant, trainer, and author. Don and Jeff coauthored Manning's Learn Windows PowerShell in a Month of Lunches, Learn PowerShell Toolmaking in a Month of Lunches, and PowerShell in Depth. Table of Contents PART 1 - INTRODUCTION TO SCRIPTING Before you begin Setting up your scripting environment WWPD: what would PowerShell do? Review: parameter binding and the PowerShell pipeline Scripting language crash course The many forms of scripting (and which to use) Scripts and security PART 2 - BUILDING A POWERSHELL SCRIPT Always design first Avoiding bugs: start with a command Building a basic function and script module Going advanced with your function Objects: the best kind of output Using all the pipelines Simple help: making a comment Dealing with errors Filling out a manifest PART 3 - GROWN-UP SCRIPTING Changing your brain when it comes to scripting Professional-grade scripting An introduction to source control with git Pestering your script Signing your script Publishing your script PART 4 - ADVANCED TECHNIQUES Squashing bugs Making script output prettier Wrapping up the .NET Framework Storing data-not in Excel! Never the end

Learn PowerShell Toolmaking in a Month of Lunches

Learn PowerShell Toolmaking in a Month of Lunches PDF Author: Don Jones
Publisher:
ISBN: 9781617291166
Category : Client/server computing
Languages : en
Pages : 0

Get Book

Book Description
Written by PowerShell MVPs Offers practical, real-world examples Teaches toolmaking from the ground up

PowerShell for Sysadmins

PowerShell for Sysadmins PDF Author: Adam Bertram
Publisher: No Starch Press
ISBN: 1593279183
Category : Computers
Languages : en
Pages : 321

Get Book

Book Description
Learn to use PowerShell, Microsoft's scripting language, to automate real-world tasks that IT professionals and system administrators deal with every day. Save Time. Automate. PowerShell® is both a scripting language and an administrative shell that lets you control and automate nearly every aspect of IT. In PowerShell for Sysadmins, five-time Microsoft® MVP "Adam the Automator" Bertram shows you how to use PowerShell to manage and automate your desktop and server environments so that you can head out for an early lunch. You'll learn how to: Combine commands, control flow, handle errors, write scripts, run scripts remotely, and test scripts with the PowerShell testing framework, Pester Parse structured data like XML and JSON, work with common domains (like Active Directory, Azure, and Amazon Web Services), and create a real-world server inventory script Design and build a PowerShell module to demonstrate PowerShell isn't just about ad-hoc scripts Use PowerShell to create a hands-off, completely automated Windows deployment Build an entire Active Directory forest from nothing but a Hyper-V host and a few ISO files Create endless Web and SQL servers with just a few lines of code! Real-world examples throughout help bridge the gap between theory and actual system, and the author's anecdotes keep things lively. Stop with the expensive software and fancy consultants. Learn how to manage your own environment with PowerShell for Sysadmins and make everyone happy. Covers Windows PowerShell v5.1

Windows PowerShell Cookbook

Windows PowerShell Cookbook PDF Author: Lee Holmes
Publisher: "O'Reilly Media, Inc."
ISBN: 0596801505
Category : Computers
Languages : en
Pages : 882

Get Book

Book Description
With more than 250 ready-to-use recipes, this solutions-oriented introduction to the Windows PowerShell scripting environment and language provides administrators with the tools to be productive immediately.

Learn Azure in a Month of Lunches, Second Edition

Learn Azure in a Month of Lunches, Second Edition PDF Author: Iain Foulds
Publisher: Manning Publications
ISBN: 1617297623
Category : Computers
Languages : en
Pages : 366

Get Book

Book Description
Learn Azure in a Month of Lunches, Second Edition, is a tutorial on writing, deploying, and running applications in Azure. In it, you’ll work through 21 short lessons that give you real-world experience. Each lesson includes a hands-on lab so you can try out and lock in your new skills. Summary You can be incredibly productive with Azure without mastering every feature, function, and service. Learn Azure in a Month of Lunches, Second Edition gets you up and running quickly, teaching you the most important concepts and tasks in 21 practical bite-sized lessons. As you explore the examples, exercises, and labs, you'll pick up valuable skills immediately and take your first steps to Azure mastery! This fully revised new edition covers core changes to the Azure UI, new Azure features, Azure containers, and the upgraded Azure Kubernetes Service. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Microsoft Azure is vast and powerful, offering virtual servers, application templates, and prebuilt services for everything from data storage to AI. To navigate it all, you need a trustworthy guide. In this book, Microsoft engineer and Azure trainer Iain Foulds focuses on core skills for creating cloud-based applications. About the book Learn Azure in a Month of Lunches, Second Edition, is a tutorial on writing, deploying, and running applications in Azure. In it, you’ll work through 21 short lessons that give you real-world experience. Each lesson includes a hands-on lab so you can try out and lock in your new skills. What's inside Understanding Azure beyond point-and-click Securing applications and data Automating your environment Azure services for machine learning, containers, and more About the reader This book is for readers who can write and deploy simple web or client/server applications. About the author Iain Foulds is an engineer and senior content developer with Microsoft. Table of Contents PART 1 - AZURE CORE SERVICES 1 Before you begin 2 Creating a virtual machine 3 Azure Web Apps 4 Introduction to Azure Storage 5 Azure Networking basics PART 2 - HIGH AVAILABILITY AND SCALE 6 Azure Resource Manager 7 High availability and redundancy 8 Load-balancing applications 9 Applications that scale 10 Global databases with Cosmos DB 11 Managing network traffic and routing 12 Monitoring and troubleshooting PART 3 - SECURE BY DEFAULT 13 Backup, recovery, and replication 14 Data encryption 15 Securing information with Azure Key Vault 16 Azure Security Center and updates PART 4 - THE COOL STUFF 17 Machine learning and artificial intelligence 18 Azure Automation 19 Azure containers 20 Azure and the Internet of Things 21 Serverless computing

Learn Active Directory Management in a Month of Lunches

Learn Active Directory Management in a Month of Lunches PDF Author: Richard Siddaway
Publisher: Simon and Schuster
ISBN: 1638353557
Category : Computers
Languages : en
Pages : 622

Get Book

Book Description
Summary Learn Active Directory Management in a Month of Lunches is a practical, hands-on tutorial designed for IT pros new to Active Directory. It skips the theory and concentrates on the day-to-day administration tasks you need to know to keep your network running smoothly. Just set aside an hour a day for a month—lunchtime would be perfect—and you'll be comfortable and productive with Active Directory before you know it. About the Book At the heart of your Windows network is Active Directory, the control center for administration, security, and other core management functions. If you're new to Active Directory administration—or if you find yourself unexpectedly thrust into that role—you'll need to get up to speed fast. Learn Active Directory Management in a Month of Lunches is a hands-on tutorial designed for IT pros new to Active Directory. Without assuming previous administration experience, the book starts by walking you through the most important day-to-day system management tasks. You'll learn how to administer AD both from the GUI tools built into Windows and by using PowerShell at the command line. Along the way, you'll touch on best practices for managing user access, setting group policies, automating backups, and more. This book assumes no prior experience with Active Directory or Windows administration. Examples are based in Windows Server 2012 Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside ADM tasks you'll need every day GUI and command line techniques Content tested by new administrators Well-illustrated, clearly explained examples About the Author Richard Siddaway is an experienced all-around Windows administrator with two decades of experience. He's the author of PowerShell in Practice andPowerShell and WMI, and coauthor of PowerShell in Depth. Table of Contents PART 1 MANAGING ACTIVE DIRECTORY DATA Before you begin Creating user accounts Managing user accounts Managing groups Troubleshooting users and groups Managing computer accounts Managing organizational units PART 2 MANAGING GROUP POLICY Creating Group Policies Managing Group Policies Fine-grained password policies PART 3 MANAGING THE ACTIVE DIRECTORY SERVICE Creating domain controllers Managing domain controllers Protecting AD data Security: Default groups and delegation Managing DNS Managing sites and subnets AD replication Managing AD trusts PART 4 MAINTENANCE AND TROUBLESHOOTING Troubleshooting your AD Maintaining and monitoring Active Directory Future work and final exam Into the cloud

Windows PowerShell in Action

Windows PowerShell in Action PDF Author: Bruce Payette
Publisher: Manning Publications
ISBN: 9781935182139
Category : Microsoft Windows (Computer file)
Languages : en
Pages : 0

Get Book

Book Description
A guide to using Windows PowerShell to script Windows administrative tasks and control Windows from the command line.

Learn PowerShell Scripting in a Month of Lunches, Second Edition

Learn PowerShell Scripting in a Month of Lunches, Second Edition PDF Author: James Petty
Publisher: Simon and Schuster
ISBN: 1633438988
Category : Computers
Languages : en
Pages : 334

Get Book

Book Description
Automate complex tasks and processes with PowerShell scripts. This amazing book teaches you how to write, test, and organize high-quality, reusable scripts for Windows, Linux, and cloud-based systems. In Learn PowerShell Scripting in a Month of Lunches, Second Edition you’ll learn: Setting up a reliable scripting environment Designing functions and scripts Effective pipeline usage Scripting and security Dealing with errors and bugs Source control with git Sharing and publishing scripts Professional-grade scripting practices Learn PowerShell Scripting in a Month of Lunches, Second Edition takes you beyond command-line PowerShell and opens up the amazing world of scripting and automation. In just 27 bite-sized lessons, you’ll learn to write scripts that can eliminate repetitive manual tasks, create custom reusable tools, and build effective pipelines and workflows. This revised second edition is fully updated to PowerShell’s latest version, including hands-on examples that perfectly demonstrate modern PowerShell’s cross-platform applications. About the technology Microsoft's PowerShell language lets you write scripts to control nearly every aspect of Windows. Just master a few straightforward scripting skills, and you'll save yourself from hours of tedious tasks. The lunch hours you spend learning PowerShell scripting will quickly pay you back with days of saved time! About the book Learn PowerShell Scripting in a Month of Lunches teaches you to create effective automation scripts and tools with PowerShell. Its 27 bite-size lessons cover instantly useful techniques for writing efficient code, finding and squashing bugs, organizing your scripts into libraries, and much more. This revised second edition of the bestselling original has been fully upgraded to the latest version of PowerShell. It’s full of exciting new examples that go beyond Windows scripting and show you how you can use PowerShell to automate Linux, and macOS environments. About the reader For help desk technicians, DevOps engineers, and other IT Pros interested in scripting. Basic knowledge of PowerShell required. This book is the perfect follow-on guide to Learn PowerShell in a Month of Lunches, Fourth Edition. About the author James Petty is CEO of PowerShell.org and The DevOps Collective, and a Microsoft MVP. Don Jones is a PowerShell MVP, speaker, and trainer who has written dozens of books on information technology topics. Jeffery Hicks is a PowerShell MVP and an independent consultant, trainer, and author.

Learn dbatools in a Month of Lunches

Learn dbatools in a Month of Lunches PDF Author: Chrissy LeMaire
Publisher: Simon and Schuster
ISBN: 1638351260
Category : Computers
Languages : en
Pages : 398

Get Book

Book Description
If you work with SQL Server, dbatools is a lifesaver. This book will show you how to use this free and open source PowerShell module to automate just about every SQL server task you can imagine—all in just one month! In Learn dbatools in a Month of Lunches you will learn how to: Perform instance-to-instance and customized migrations Automate security audits, tempdb configuration, alerting, and reporting Schedule and monitor PowerShell tasks in SQL Server Agent Bulk-import any type of data into SQL Server Install dbatools in secure environments Written by a group of expert authors including dbatools creator Chrissy LeMaire, Learn dbatools in a Month of Lunches teaches you techniques that will make you more effective—and efficient—than you ever thought possible. In twenty-eight lunchbreak lessons, you’ll learn the most important use cases of dbatools and the favorite functions of its core developers. Stabilize and standardize your SQL server environment, and simplify your tasks by building automation, alerting, and reporting with this powerful tool. About the technology For SQL Server DBAs, automation is the key to efficiency. Using the open-source dbatools PowerShell module, you can easily execute tasks on thousands of database servers at once—all from the command line. dbatools gives you over 500 pre-built commands, with countless new options for managing SQL Server at scale. There’s nothing else like it. About the book Learn dbatools in a Month of Lunches teaches you how to automate SQL Server using the dbatools PowerShell module. Each 30-minute lesson introduces a new automation that will make your daily duties easier. Following the expert advice of dbatools creator Chrissy LeMaire and other top community contributors, you’ll learn to script everything from backups to disaster recovery. What's inside Performing instance-to-instance and customized migrations Automating security audits, best practices, and standardized configurations Administering SQL Server Agent including running PowerShell scripts effectively Bulk-importing many types of data into SQL Server Executing advanced tasks and increasing efficiency for everyday administration About the reader For DBAs, accidental DBAs, and systems engineers who manage SQL Server. About the author Chrissy LeMaire is a GitHub Star and the creator of dbatools. Rob Sewell is a data engineer and a passionate automator. Jess Pomfret and Cláudio Silva are data platform architects. All are Microsoft MVPs. Table of Contents 1 Before you begin 2 Installing dbatools 3 The dbatools lab 4 A gentle introduction to dbatools commands 5 Writing to SQL Server 6 Finding SQL Server instances on your network 7 Inventorying your SQL estate 8 Registered Servers 9 Logins and users 10 Backups 11 Restore 12 Snapshots 13 Install and update SQL Server 14 Preparing for disaster 15 Performing your first advanced SQL Server instance migration, part 1 16 Performing your first advanced SQL Server instance migration, part 2 17 High availability and disaster recovery 18 PowerShell and SQL Server Agent 19 SQL Server Agent administration 20 Creating and working with SQL Server Agent objects 21 Data masking 22 DevOps automation 23 Tracing SQL Server activity 24 Security and encryption 25 Data compression 26 Validating your estate with dbachecks 27 Working in the cloud 28 dbatools configurations and logging 29 Never the end

Learn Docker in a Month of Lunches

Learn Docker in a Month of Lunches PDF Author: Elton Stoneman
Publisher: Manning Publications
ISBN: 1617297054
Category : Computers
Languages : en
Pages : 462

Get Book

Book Description
Summary Go from zero to production readiness with Docker in 22 bite-sized lessons! Learn Docker in a Month of Lunches is an accessible task-focused guide to Docker on Linux, Windows, or Mac systems. In it, you’ll learn practical Docker skills to help you tackle the challenges of modern IT, from cloud migration and microservices to handling legacy systems. There’s no excessive theory or niche-use cases—just a quick-and-easy guide to the essentials of Docker you’ll use every day. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology The idea behind Docker is simple: package applica­tions in lightweight virtual containers that can be easily installed. The results of this simple idea are huge! Docker makes it possible to manage applications without creating custom infrastructures. Free, open source, and battle-tested, Docker has quickly become must-know technology for developers and administrators. About the book Learn Docker in a Month of Lunches introduces Docker concepts through a series of brief hands-on lessons. Follow­ing a learning path perfected by author Elton Stoneman, you’ll run containers by chapter 2 and package applications by chapter 3. Each lesson teaches a practical skill you can practice on Windows, macOS, and Linux systems. By the end of the month you’ll know how to containerize and run any kind of application with Docker. What's inside Package applications to run in containers Put containers into production Build optimized Docker images Run containerized apps at scale About the reader For IT professionals. No previous Docker experience required. About the author Elton Stoneman is a consultant, a former architect at Docker, a Microsoft MVP, and a Pluralsight author. Table of Contents PART 1 - UNDERSTANDING DOCKER CONTAINERS AND IMAGES 1. Before you begin 2. Understanding Docker and running Hello World 3. Building your own Docker images 4. Packaging applications from source code into Docker Images 5. Sharing images with Docker Hub and other registries 6. Using Docker volumes for persistent storage PART 2 - RUNNING DISTRIBUTED APPLICATIONS IN CONTAINERS 7. Running multi-container apps with Docker Compose 8. Supporting reliability with health checks and dependency checks 9. Adding observability with containerized monitoring 10. Running multiple environments with Docker Compose 11. Building and testing applications with Docker and Docker Compose PART 3 - RUNNING AT SCALE WITH A CONTAINER ORCHESTRATOR 12. Understanding orchestration: Docker Swarm and Kubernetes 13. Deploying distributed applications as stacks in Docker Swarm 14. Automating releases with upgrades and rollbacks 15. Configuring Docker for secure remote access and CI/CD 16. Building Docker images that run anywhere: Linux, Windows, Intel, and Arm PART 4 - GETTING YOUR CONTAINERS READY FOR PRODUCTION 17. Optimizing your Docker images for size, speed, and security 18. Application configuration management in containers 19. Writing and managing application logs with Docker 20. Controlling HTTP traffic to containers with a reverse proxy 21. Asynchronous communication with a message queue 22. Never the end