Powershell in Depth

Author: Don Jones,Jeffery Hicks,Richard Siddaway

Publisher: Manning Publications

ISBN: 9781617292187

Category: Computers

Page: 744

View: 6904

Summary PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by three experienced authors and PowerShell MVPs, this is the PowerShell book you'll keep next to your monitor—not on your bookshelf! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Book A Windows admin using PowerShell every day may not have the time to search the net every time he or she hits a snag. Wouldn't it be great to have a team of seasoned PowerShell experts ready to answer even the toughest questions? That's what you get with this book. PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by PowerShell MVPs Don Jones, Jeffrey Hicks, and Richard Siddaway, each valuable technique was developed and thoroughly tested, so you'll be able to consistently write production-quality, maintainable scripts while saving hours of time and effort. This book assumes you know the basics of PowerShell. What's Inside Automating tasks Packaging and deploying scripts Introduction to Desired State Configuration PowerShell security Covers PowerShell version 3 and later About the Authors Don Jones, Jeffery Hicks, and Richard Siddaway are Microsoft MVPs, trainers, and administrators. Collectively, they've authored nearly three dozen books on PowerShell and Windows administration. Table of Contents PART 1 POWERSHELL FUNDAMENTALS Introduction PowerShell hosts Using the PowerShell help system The basics of PowerShell syntax Working with PSSnapins and modules Operators Working with objects The PowerShell pipeline Formatting PART 2 POWERSHELL MANAGEMENT PowerShell Remoting Background jobs and scheduling Working with credentials Regular expressions Working with HTML and XML data PSDrives and PSProviders Variables, arrays, hash tables, and script blocks PowerShell security Advanced PowerShell syntax PART 3 POWERSHELL SCRIPTING AND AUTOMATION PowerShell's scripting language Basic scripts and functions Creating objects for output Scope PowerShell workflows Advanced syntax for scripts and functions Script modules and manifest modules Custom formatting views Custom type extensions Data language and internationalization Writing help Error handling techniques Debugging tools and techniques Functions that work like cmdlets Tips and tricks for creating reports PART 4 ADVANCED POWERSHELL Working with the Component Object Model (COM) Working with .NET Framework objects Accessing databases Proxy functions Building a GUI WMI and CIM Working with the web Desired State Configuration

PowerShell in Depth

An Administrator's Guide

Author: Don Jones,Richard Siddaway,Jeffrey Hicks

Publisher: Manning Publications Company

ISBN: 9781617290558

Category: Computers

Page: 601

View: 3665

Provides step-by-step instructions on automating Windows administration tasks using Windows PowerShell 3.0.

Pro PowerShell Desired State Configuration

An In-Depth Guide to Windows PowerShell DSC

Author: Ravikanth Chaganti

Publisher: Apress

ISBN: 1484234839

Category: Computers

Page: 577

View: 5110

Use Windows PowerShell Desired State Configuration (DSC) to configure your infrastructure on-premises and in the cloud. In an environment where changes and deployments are happening all the time, DSC makes the necessary adjustments to the system so you don’t have to. Pro PowerShell Desired State Configuration shows you how. PowerShell Desired State Configuration (DSC) is a powerful configuration management platform that makes it easier than ever to perform configuration management of your infrastructure, whether on-premises or in the cloud. With Pro PowerShell Desired State Configuration, Ravikanth Chaganti revises and significantly expands his previous edition, bringing you a complete in-depth reference for applying this evolving technology in your day-to-day work. What’s new in this edition? Get up-to-date, in-depth guidance on DSC in the data center Understand the central role that DSC plays in DevOps today Integrate DSC into build and release management tools Learn to think and act like a developer when automating your configuration management, creating a testable, robust process that you can use again and again Find out why and how DSC has an important role to play in public and private cloud deployments Apply DSC in the cloud with Microsoft Azure or Amazon Web Services or Google Cloud Platform Who This Book Is For IT administrators, developers and DevOps engineers working in Windows-based data center environments. With a little prior PowerShell scripting experience, this book can be used as an in-depth reference to creating, customizing, and extending DSC in Windows. IT administrators with limited scripting experience will also find this book a useful overview of what DSC offers and how to use DSC resources to automate configuration management and deployment.

Learn PowerShell Toolmaking in a Month of Lunches

Author: Don Jones,Jeffery Hicks

Publisher: Manning Publications

ISBN: 9781617291166

Category: Computers

Page: 289

View: 1586

Presents a guide on how to use Windows PowerShell to build administrative tools.

Windows Powershell in Action

Author: Bruce Payette,Richard Siddaway

Publisher: Manning Publications

ISBN: 9781633430297

Category: Computers

Page: 625

View: 6917

Windows PowerShell transformed the way administrators and developers interact with Windows. PowerShell, an elegant dynamic language from Microsoft, lets its users script administrative tasks and control Windows from the command line. Because it's a full-featured, first-class Windows programming language, programmers and power- users can now do things in a shell that previously required VB, VBScript, or C#. Windows PowerShell in Action, Third Edition is a completely revised edition of the bestselling book on PowerShell. It keeps the same crystal-clear introduction to PowerShell as the last edition and adds extensive coverage of v3, v4, and v5 features such as PowerShell Workflows, Desired State Configuration, PowerShell classes and the PowerShell APIs, new error handling and debugging features. It includes full chapters on these topics and also covers new language elements and operators, PowerShell remoting, CIM, events, working with data such as XML and flat files, The Second Edition's coverage of batch scripting and string processing, COM, WMI, and .NET have all been significantly revised and expanded. The book includes many popular usage scenarios and is rich in interesting examples that will spark the reader's imagination. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Learn PowerShell Scripting in a Month of Lunches

Author: Don Jones,Jeffery Hicks

Publisher: Manning Publications

ISBN: 9781617295096

Category: Command languages (Computer science)

Page: 352

View: 3598

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

PowerShell in Practice

Author: Richard Siddaway

Publisher: Manning Publications

ISBN: 9781935182009

Category: Computers

Page: 551

View: 9234

Windows PowerShell is a scripting language that simplifies Windows system administration. PowerShell in Practice is a hands-on reference for administrators wanting to learn and use PowerShell. Following the "in Practice" style, individual related techniques are clustered into chapters. Each technique is presented in the form: problem, solution, discussion, and includes annotated code listings. Written to answer the question "How can PowerShell make my job as an administrator easier?" this book concentrates on practical tasks and automation. Starting with an a brief tutorial and review, the majority of the book focuses on two major PowerShell usage areas: People - user accounts, mailboxes, desktop configuration; and Servers - Active Directory, Exchange, IIS, and more. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

Powershell and WMI

Author: Richard Siddaway

Publisher: Manning Publications

ISBN: 9781617290114

Category: Computers

Page: 514

View: 1421

Summary PowerShell and WMI is an example-driven guide for administrators managing networks of Windows servers and desktops. With 150 practical examples, including ready-to-reuse scripts and techniques, you'll learn the ins and outs of automating WMI via PowerShell v3. You'll also find deep coverage of all aspects of Windows administration, including IIS, DNS and Hyper-V. About the Technology WMI, on its own, is simply a collection of Windows management facilities. Paired with PowerShell, however, WMI becomes a brilliant toolset for automating servers, networks, and remote Windows computers. About the Book PowerShell and WMI is an industrial-strength guide for administrators of Windows networks, servers, and desktops. You'll start with practical overviews of PowerShell and of WMI. Then you'll explore 150 specific examples—all with ready-to-use scripts—designed to simplify your day-to-day system management. Each tested technique is configured to load as part of a PowerShell module. A set of handy appendixes includes references for PowerShell and WMI. Prior exposure to PowerShell and WMI is helpful but not required. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Managing Windows, IIS, and Hyper-V Remote desktops and devices Logs, jobs, and performance New PowerShell v3 WMI functionality =============================== Table of Contents PART 1 TOOLS OF THE TRADE Solving administrative challenges Using PowerShell WMI in depth Best practices and optimization PART 2 WMI IN THE ENTERPRISE System documentation Disk systems Registry administration Filesystem administration Services and processes Printers Configuring network adapters Managing IIS Configuring a server Users and security Logs, jobs, and performance Administering Hyper-V with PowerShell and WMI PART 3 THE FUTURE: POWERSHELL V3 AND WMI WMI over WSMAN Your own WMI cmdlets CIM cmdlets and sessions

Windows PowerShell Unleashed

Author: Tyson Kopczynski

Publisher: Sams Publishing

ISBN: 9780672329531

Category: Computers

Page: 306

View: 1455

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

Learn Windows Powershell in a Month of Lunches

Author: Donald W. Jones,Jeffrey Hicks

Publisher: Manning Publications

ISBN: 9781617294167

Category: Computers

Page: 375

View: 4089

PowerShell provides a single, unified administrative command line from which to control and automate virtually every aspect of a Windows system. It accepts and executes commands immediately, and scripts can be written to manage most Windows servers like Exchange, IIS, and SharePoint. This updated book covers PowerShell features that run on Windows 7, Windows Server 2008 R2, and later. This edition is appropriate for PowerShell version 3 and later. There is coverage for new PowerShell version 5 features like PowerShellGet, however PowerShell fundamentals are unchanged. Learn Windows PowerShell in a Month of Lunches, Third Edition is an innovative tutorial designed for busy IT professionals. With just one hour a day for a month, readers will be automating Windows tasks faster than they ever thought possible. They start with the basics (What is PowerShell and what can be done with it). Then, it moves systematically through the techniques and features that facilitate efficient and effective results. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

PowerShell Deep Dives

Author: Jeffery Hicks,Richard Siddaway,Oisin Grehan,Aleksandar Nikolić

Publisher: Manning Publications Company

ISBN: 9781617291319

Category: Computers

Page: 436

View: 6393

Provides information on the administration, scripting functions, development, and platforms of Windows PowerShell.

Windows PowerShell in 24 Hours, Sams Teach Yourself

Author: Timothy L. Warner

Publisher: Sams Publishing

ISBN: 0134049357

Category: Computers

Page: 500

View: 7006

In just 24 lessons of one hour or less, Sams Teach Yourself Windows PowerShell in 24 Hours helps you streamline all facets of Windows administration, supercharging your effectiveness as an IT professional or power user. This book’s straightforward, step-by-step approach shows you how to build and run scripts, extend Windows PowerShell reach, manage computers remotely, and automate a wide variety of tasks on any modern Windows server or client. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success! Step-by-step instructions carefully walk you through the most common PowerShell scripting tasks. Practical, hands-on examples show you how to apply what you learn. Quizzes and exercises help you test your knowledge and stretch your skills. Notes, tips, and cautions point out shortcuts, pitfalls, and solutions. Learn how to... Install, configure, and explore Windows PowerShell (including updates for PowerShell 5) Leverage .NET’s remarkable power and scope with easy-to-use cmdlets Build new scripts with the console, ISE visual tools, and other popular hosts Apply best practices for writing more reliable, flexible, team-friendly scripts Work effectively with the pipeline, objects, and data Extend Windows PowerShell reach via providers, drives, and output Run external tools like ping, ipconfig, and tracert from within PowerShell Remotely manage computers with basic and advanced remoting (WinRM), WMI, and Regex Configure Windows devices across the web with PSWA Sort, filter, measure, format, export, and convert script output Run Windows PowerShell flexibly, using background and scheduled jobs Customize your environment with profile scripts, alternate credentials, thirdparty tools, and packages Strengthen your control over Windows systems and services with Desired State Configuration Administer key tasks on SQL Server, SharePoint, and other Windows servers Master PowerShell skills needed to earn many Microsoft certifications

Windows PowerShell Cookbook

The Complete Guide to Scripting Microsoft's Command Shell

Author: Lee Holmes

Publisher: "O'Reilly Media, Inc."

ISBN: 1449320686

Category: Computers

Page: 1007

View: 7745

A guide to using Windows PowerShell to script Windows administrative tasks and control Windows from the command line includes more than four hundred task-oriented recipes and more than one hundred scripts.

Learning PowerShell

Author: Jonathan Hassell

Publisher: Walter de Gruyter GmbH & Co KG

ISBN: 1501506676

Category: Business & Economics

Page: 215

View: 8059

Learning PowerShell is a custom-built, handcrafted, painstakingly curated book designed to get you from total PowerShell newbie to confident PowerShell user in as little as four weeks. This book assumes no prior knowledge, perfect for non-developers and GUI addicts who recognize that PowerShell is the future but need a good bit of handholding to achieve mastery. It is also a simple guide for the hundreds of thousands of PowerShell users who have not attained the level of PowerShell knowledge that they really need. With Learning PowerShell at your side, you will see that you don't have to be a developer to use PowerShell and you don't need to be a scripting wizard to derive value from integrating PowerShell into your daily administrative activities. The book is a learning resource that covers every topic worth discussing for a PowerShell beginner, with a depth of explanation unparalleled by any book currently on the market. With this book, you don't have to have a lot of time to learn the language and you can begin applying what you master almost immediately. Even skeptics of PowerShell, and command lines in general, will come away with a renewed sense of respect for the language and ideas on how to put it to use.

Windows PowerShell Pocket Reference

Author: Lee Holmes

Publisher: "O'Reilly Media, Inc."

ISBN: 1449320961

Category: Computers

Page: 169

View: 8573

"Portable help for PowerShell scripters"--Cover.

Learn Active Directory Management in a Month of Lunches

Author: Richard Siddaway

Publisher: Manning Publications

ISBN: 9781617291197

Category: Computers

Page: 376

View: 9681

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

Azure Automation Using the ARM Model

An In-Depth Guide to Automation with Azure Resource Manager

Author: Shijimol Ambi Karthikeyan

Publisher: Apress

ISBN: 1484232194

Category: Computers

Page: 174

View: 5643

Focus exclusively on the Azure Resource Manager (ARM) deployment model for Azure automation and gain in-depth knowledge of topics such as runbook authoring, different types of automation runbooks, and hybrid cloud automation. This book covers practical approaches to creating runbooks for multiple use cases, including operational tasks such as VM management and integration of Azure automation with infrastructure monitoring solutions, such as Operations Management Suite (OMS). Along the way you’ll see how to use PowerShell in Azure automation and cover essentials including Azure automation security, source control integration, and runbook output streams. Finally, you learn about integrating Azure automation with Desired State Configuration (DSC) to include various cloud, on-premise, and hybrid scenarios. What You Will Learn · Work with the building blocks of Azure automation · Create different types of runbook · Master hybrid cloud automation with ARM · Implement cloud automation use cases with practical examples Who This Book Is For Infrastructure and cloud architects, cloud support engineers, and system administrators.

Learning PowerShell DSC

Author: James Pogran

Publisher: Packt Publishing Ltd

ISBN: 1785281887

Category: Computers

Page: 268

View: 6368

Get started with the fundamentals of PowerShell DSC and utilize its power to automate deployment and configuration of your servers About This Book Create flexible and maintainable deployments using DSC configuration scripts that stand the test of time Explore the in depth details of the core architecture, concepts, and practices used by PowerShell DSC A step-by-step guide that shows you how to start using and taking advantage of PowerShell DSC Who This Book Is For This book is intended for system administrators, developers, or engineers who are responsible for configuration management and automation and wish to learn PowerShell Desired State Configuration for efficient management, configuration and deployment of systems and applications. What You Will Learn Understand configuration management and why you need it Craft flexible, reusable, and maintainable configuration scripts for thousands of servers Create custom DSC resources to manage any application or server setting Apply configuration data to deploy applications to different environments Utilize DSC push deployments to test your configuration scripts and custom DSC resources Install, configure and use DSC pull servers Run a Windows MSI package Deploy a website In Detail Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. PowerShell DSC is a new management platform that enables you to deploy and manage configuration data for software services and manage the environment in which these services run. This book begins with an overview of the basics of PowerShell DSC by covering the architecture and components of the Desired Sate Configuration. It will then familiarize you with the set of PowerShell language extensions and new PowerShell commands. It will help you understand and create DSC configurations with the help of practical examples, and to create DSC custom resources for your custom applications. Finally, you will learn to deploy a real world application using PowerShell DSC. By the end of the book, you will have better knowledge about the powerful Desired State Configuration platform, which helps you to achieve continuous delivery, and efficient management and easy deployment of data for systems. Style and approach This book is an in-depth guide to using PowerShell DSC, full of real-world experiences and best practices using PowerShell DSC. The topics are explained and build on one another other to provide a holistic learning experience. At the end, all the features learned will be used to create a real world application deployment using DSC.

Powershell Studio

A Comprehensive Guide

Author: Jeffery Holder

Publisher: Createspace Independent Publishing Platform

ISBN: 9781542658010

Category:

Page: 550

View: 386

"Fantastic...it is going to be worth gold to people! the code examples will be invaluable."- Don Jones, President/CEO PowerShell.org Master building PowerShell GUI applications with the PowerShell Studio guide PowerShell Studio - A Comprehensive Guide was written for anyone that wants to learn how to develop user-friendly GUI applications for managing and automating small to enterprise level Windows environments. Step-by-step instruction walks you through installation, configuration, operation, and much more as you conquer the development of PowerShell GUI applications. This indispensable guide provides hands-on instruction and detailed conceptual explanations, anchored by practical applications and real-world examples. You will learn how to use the extensive controls in PowerShell Studio as you are taken through in-depth explanations and real-life examples. WARNING: This book will increase your skills in PowerShell! You may very well become the go-to person in your company when it comes to designing and creating systems management applications. This book is the ultimate guide to PowerShell Studio, helping administrators master Integrated Development Environments. Learn to: Installation and Configuration Options Ribbon Bar and Tabs Explained Predesigned Form Templates & Styles Form Controls and Control Sets Designing Custom Form Templates PowerShell Code Examples Implementing Source Control Creating Effective Deployments Extensive Form Control Examples Form Controls Properties Tables GIT and VersionRecall Implementation Tips and Tricks for everyday use Remote Cache Management Step-by-Step Example Projects

C# in Depth

Author: Jon Skeet

Publisher: Pearson Professional

ISBN: 9781617294532

Category: Computers

Page: 375

View: 9247

C# is an amazing language that's up to any challenge you can throw at it. As a C# developer, you also need to be up to the task. C# in Depth, Fourth Edition is the key to unlocking the powerful new features added to the language in C# 5, 6, and 7. Following the expert guidance of C# legend Jon Skeet, readers will master asynchronous functions, expression-bodied members, interpolated strings, tuples, and much more. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.