Powershell in Depth

Author: Don Jones,Jeffery Hicks,Richard Siddaway

Publisher: Manning Publications

ISBN: 9781617292187

Category: Computers

Page: 744

View: 1780

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
Posted in Computers

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: 5994

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

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: 9914

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.
Posted in Computers

Learn Windows Powershell in a Month of Lunches

Author: Donald W. Jones,Jeffrey Hicks

Publisher: Manning Publications

ISBN: 9781617294167

Category: Computers

Page: 375

View: 3093

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.
Posted in Computers

Windows Powershell in Action

Author: Bruce Payette,Richard Siddaway

Publisher: Manning Publications

ISBN: 9781633430297

Category: Computers

Page: 625

View: 4890

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.
Posted in Computers

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: 5568

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
Posted in Command languages (Computer science)

CMD Your Computer: An In-Depth Guide to Command Prompt, Batch Programming and Powershell

Author: Cask J. Thomson

Publisher: Independently Published

ISBN: 9781719982535

Category: Computers

Page: 466

View: 7358

A complete history of command-line interfaces and the effect that commands have had on the modern computer as we know it with every Microsoft Command Prompt, PowerShell and Run command ever listed - with a large overview of purposes, example uses and tutorials on programming simple and advanced batch files. It doesn
Posted in Computers

Windows PowerShell 3.0 Step by Step

Author: Ed Wilson

Publisher: Microsoft Press

ISBN: 0735669996

Category: Computers

Page: 704

View: 9009

Your hands-on, step-by-step guide to automating Windows administration with Windows PowerShell 3.0 Teach yourself the fundamentals of Windows PowerShell 3.0 command line interface and scripting language—one step at a time. Written by a leading scripting expert, this practical tutorial delivers learn-by-doing exercises, timesaving tips, and hands-on sample scripts for performing administrative tasks on both local and remote Windows systems. Discover how to: Use built-in cmdlets to execute commands Write scripts to handle recurring tasks Use providers to access information beyond the shell environment Configure network components with Windows Management Instrumentation Manage users, groups, and computers with Active Directory services Execute scripts to administer and troubleshoot Microsoft Exchange Server 2010
Posted in Computers

PowerShell Deep Dives

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

Publisher: Manning Publications Company

ISBN: 9781617291319

Category: Computers

Page: 436

View: 7607

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

Learning PowerShell DSC

Author: James Pogran

Publisher: Packt Publishing Ltd

ISBN: 1785281887

Category: Computers

Page: 268

View: 544

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.
Posted in Computers

Windows PowerShell Unleashed

Author: Tyson Kopczynski

Publisher: Sams Publishing

ISBN: 9780672329531

Category: Computers

Page: 306

View: 9772

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

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: 5010

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.
Posted in Computers

Windows PowerShell Pocket Reference

Author: Lee Holmes

Publisher: "O'Reilly Media, Inc."

ISBN: 1449320961

Category: Computers

Page: 169

View: 2975

"Portable help for PowerShell scripters"--Cover.
Posted in Computers

Powershell and WMI

Author: Richard Siddaway

Publisher: Manning Publications

ISBN: 9781617290114

Category: Computers

Page: 514

View: 4823

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
Posted in Computers

Pro PowerShell for Microsoft Azure

Author: Sherif Talaat

Publisher: Apress

ISBN: 1484206657

Category: Computers

Page: 201

View: 8723

This book is written for Windows professionals who are familiar with PowerShell and want to learn to build, operate, and administer their Windows workloads in the Microsoft cloud. Pro PowerShell for Microsoft Azure is packed with practical examples and scripts, with easy-to-follow explanations for a wide range of day-to-day needs and essential administration tasks. Author Sherif Talaat begins by explaining the fundamental concepts behind the Microsoft Azure platform and how to get started configuring it through PowerShell. Readers will find out how to deploy, configure and manage the various components of the Azure platform, from storage and virtual networks to Azure Web Sites, HDInsight clusters and the Azure SQL Database. Workload automation, scheduling and resource management are covered in depth to help build efficiency in everyday tasks, and administrators will gain full control over Azure identity and access rights using Azure Active Directory and Rights Management Services. Put your PowerShell skills to good use and ensure that your applications and data are available anywhere at any time, with Pro PowerShell for Microsoft Azure. What You'll Learn Create and manage virtual networks and VPNs using PowerShell. Configure and maintain Azure Storage accounts, blobs, and containers. Provision and manage a redundant Windows or Linux server. Deploy and configure your sites in the cloud using Microsoft Azure Web Sites. Provision Apache Hadoop clusters in the cloud using Azure HDInsight. Deploy, configure and manage a Microsoft Azure SQL Database. Protect and secure identities and resources with Azure Active Directory and Azure Rights Management Services. Who This Book Is For This is book is for the intermediate to advanced Windows professional who is ready to make the leap to the cloud.
Posted in Computers

C# in Depth

Author: Jon Skeet

Publisher: Pearson Professional

ISBN: 9781617294532

Category: Computers

Page: 375

View: 702

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.
Posted in Computers

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: 620

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.
Posted in Computers

Getting Started with PowerShell

Author: Michael Shepard

Publisher: Packt Publishing Ltd

ISBN: 1785284908

Category: Computers

Page: 180

View: 1204

Learn the fundamentals of PowerShell to build reusable scripts and functions to automate administrative tasks with Windows About This Book Harness the capabilities of the PowerShell system to get started quickly with server automation Learn to package commands into a reusable script and add control structures and parameters to make them flexible Get to grips with cmdlets that allow you to perform administration tasks efficiently Who This Book Is For This book is intended for Windows administrators or DevOps users who need to use PowerShell to automate tasks. Whether you know nothing about PowerShell or know just enough to get by, this guide will give you what you need to go to take your scripting to the next level. What You Will Learn Learn to verify your installed version of PowerShell, upgrade it, and start a PowerShell session using the ISE Discover PowerShell commands and cmdlets and understand PowerShell formatting Use the PowerShell help system to understand what particular cmdlets do Utilise the pipeline to perform typical data manipulation Package your code in scripts, functions, and modules Solve common problems using basic file input/output functions Find system information with WMI and CIM Automate IIS functionality and manage it using the WebAdministration module In Detail Windows PowerShell is a task-based command-line shell and scripting language designed specifically for system administration. Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows. PowerShell is great for batch importing or deleting large sets of user accounts and will let you collect a massive amount of detailed system information in bulk via WMI (Windows Management Instrumentation). Getting Started with PowerShell is designed to help you get up and running with PowerShell, taking you from the basics of installation, to writing scripts and web server automation. This book, as an introduction to the central topics of PowerShell, covers finding and understanding PowerShell commands and packaging code for reusability, right through to a practical example of automating IIS. It also includes topics such as installation and setup, creating scripts, automating tasks, and using Powershell to access data stores, registry, and file systems. You will explore the PowerShell environment and discover how to use cmdlets, functions, and scripts to automate Windows systems. Along the way, you will learn to perform data manipulation and solve common problems using basic file input/output functions. By the end of this book, you will be familiar with PowerShell and be able to utilize the lessons learned from the book to automate your servers. Style and approach A practical learning guide, complete with plenty of activities, examples and screenshots.
Posted in Computers

Windows 10 In Depth (includes Content Update Program)

Author: Brian Knittel,Paul McFedries

Publisher: Que Publishing

ISBN: 0134121767

Category: Computers

Page: 1200

View: 4513

Windows 10 In Depth is just the guide you need. It will get you through the learning curve to become a Windows 10 expert. The authors of Windows 10 In Depth have scaled the steepest part of the learning curve for you, and give you great guidance from the first page to the last, from your first hour with Windows 10 to long-term management and maintenance tasks. In addition, this book is part of Que’s exciting new Content Update Program. As Microsoft updates features of Windows 10, sections of this book will be updated or new sections will be added to match the updates to the software. The updates will be delivered to you via a FREE Web Edition of this book, which can be accessed with any Internet connection. To learn more, visit www.quepublishing.com/CUP. This massive book includes detailed step-by-step procedures, which you through even the most complex configuration and management tasks. Whether you have a traditional PC or a souped-up tablet with a touchscreen, Windows 10 In Depth is just the guide you need. It will get you through the learning curve to become a Windows 10 expert. The authors have scaled the steepest part of the learning curve for you. From the first page to the last, and from your first hour with Windows 10, Brian Knittel and Paul McFedries share their 50+ years of combined Windows, networking, and security experience with you.
Posted in Computers

Powershell Studio

A Comprehensive Guide

Author: Jeffery Holder

Publisher: Createspace Independent Publishing Platform

ISBN: 9781542658010

Category:

Page: 550

View: 4994

"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
Posted in