Windows Powershell in Action

Author: Bruce Payette,Richard Siddaway

Publisher: Manning Publications

ISBN: 9781633430297

Category: Computers

Page: 625

View: 5843

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.

WINDOWS POWERSHELL IN ACTION, 2ND EDITION

Author: Bruce Payette

Publisher: N.A

ISBN: 9789350040690

Category:

Page: 1016

View: 9882

Market_Desc: Written for developers and administrators with intermediate level scripting knowledge. No prior experience with PowerShell is required. About The Book: This expanded, revised, and updated Second Edition preserves the original's crystal-clear introduction to PowerShell and adds extensive coverage of v2 features such as advanced functions, modules, and remoting. It includes full chapters on these topics and also covers new language elements and operators, events, Web Services for Management, and the PowerShell Integrated Scripting Environment. The First 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 your imagination. This is the definitive book on PowerShell v2!

Learn Windows Powershell in a Month of Lunches

Author: Donald W. Jones,Jeffrey Hicks

Publisher: Manning Publications

ISBN: 9781617294167

Category: Computers

Page: 375

View: 2181

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 in Depth

Author: Don Jones,Jeffery Hicks,Richard Siddaway

Publisher: Manning Publications

ISBN: 9781617292187

Category: Computers

Page: 744

View: 3297

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

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

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.

Microsoft Windows PowerShell 2.0 Programming for the Absolute Beginner

Author: Jerry Lee Ford

Publisher: Cengage Learning

ISBN: 143545443X

Category: Computers

Page: 446

View: 989

Microsoft® Windows™ PowerShell is a helpful scripting technology that enables the automation of system management tasks and the creation of system management tools. PowerShell runs on Windows XP, 2003, 2008, and Vista. Unlike traditional Windows shell scr

PowerShell in Practice

Author: Richard Siddaway

Publisher: Manning Publications

ISBN: 9781935182009

Category: Computers

Page: 551

View: 4684

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.

Pro Windows PowerShell

Author: Hristo Deshev

Publisher: Apress

ISBN: 9781430205463

Category: Computers

Page: 493

View: 2166

Here is your best companion to the capabilities and power that PowerShell offers. Inside this book, you’ll discover the object-oriented features of the shell and how they help in extracting and manipulating data. You’ll then learn how to use those features to solve real-world problems: manipulating files, working with text, monitoring systems, and performing operations over the network. In addition, you’ll find freely available tools and extensions that help you get results with Windows PowerShell fast.

Windows PowerShell for .NET Developers

Author: Chendrayan Venkatesan,Sherif Talaat

Publisher: Packt Publishing Ltd

ISBN: 1785280260

Category: Computers

Page: 330

View: 523

Efficiently administer and maintain your development environment with Windows PowerShell About This Book Explore scripting and automation techniques with Windows PowerShell Gain concrete knowledge of Windows PowerShell scripting to perform professional level scripting Discover the benefits of the Configuration Management Platform with this step-by-step guide that includes real-world scripting examples Who This Book Is For If you are an IT professional or developer who has worked on the .Net platform and you want to learn automation using Windows PowerShell, then this book is for you. This self-start guide takes you from the basics and gradually moves to an intermediate level to show you how to perform professional scripting. What You Will Learn Understand the concepts of building PowerShell scripts and the basics of programming Manage the LYNC, Exchange, and SharePoint platforms Create a Pull server using a SMB file share and HTTP and HTTPS Use .NET classes in Windows PowerShell and C# to manage Exchange Online Use PowerShell in C# to manage Exchange Online and work with .NET classes in PowerShell Automate LYNC clients, consuming Client Server Object Models to administrate SharePoint Online In Detail Windows PowerShell 5.0 for .NET Developers is your self-start guide to performing automation using Windows PowerShell. This book will help you to understand the PowerShell syntax and grammar and will also teach you techniques to remove the rough edges of manual deployments. Packed with PowerShell scripts and sample C# codes to automate tasks, it also includes real-world scenarios such as administrating office servers to help you save time and perform deployments swiftly and efficiently. The book begins with the Windows PowerShell basics, explores the significant features of Windows Management Framework 5.0, covers the basic concepts of Desired State Configuration and the importance of idempotent deployments. By the end of the book, you will have a good understanding of Windows PowerShell's features and will be able to automate your tasks and manage configuration effectively. Style and approach This is an easy-to-follow step-by-step guide with text-enabled screenshots. Each topic is explained with codes and examples. It also includes multiple approaches for a number of tasks to let you choose the best one for you depending on your scenario.

Essential PowerShell

Author: Holger Schwichtenberg

Publisher: Pearson Education

ISBN: 9780132715195

Category: Computers

Page: 504

View: 2209

Use PowerShell to Streamline and Automate Your Most Time-Consuming Windows Administration Tasks With Windows PowerShell, Microsoft brings innovative console-based system administration and scripting to Windows clients and servers. PowerShell combines the best features of traditional UNIX shells with the immense power of the .NET Framework, offering a consistent and easy-to-use replacement for both the Windows command line and the Windows Script Host. In Essential PowerShell, noted expert Holger Schwichtenberg gives Windows sysadmins all the knowledge and sample scripts they need to successfully administer production systems with PowerShell. Schwichtenberg begins by introducing the innovative PowerShell architecture, along with crucial PowerShell concepts such as pipelining and navigation. Next, he introduces the PowerShell Script Language, shows the secure execution of command sequences as scripts, and demonstrates how to use PowerShell to access essential operating system interfaces such as COM, WMI, ADSI, and ADO.NET. After you’ve mastered the fundamentals, Schwichtenberg presents an extensive collection of PowerShell solutions for virtually every area of day-to-day administration. For each topic, he presents dozens of self-contained examples, all downloadable from a companion Web site. He covers both Microsoft’s standard PowerShell commandlets and the free commandlets available as PowerShell Community Extensions. He also presents a full chapter of tips, tricks, and troubleshooting solutions. Coverage includes Understanding PowerShell’s components and features Setting up your PowerShell scripting environment Creating and using commandlets Using object-oriented pipelining for filtering, sorting, grouping, comparisons, calculations, and more Mastering PowerShell’s uniform navigation model and using it with all types of data Programming command sequences with the PowerShell Script Language Making the most of the PowerShell console and third-party tools Managing processes, event logs, and registry entries Controlling networking, printing, and software installation Manipulating Active Directory and other enterprise services with PowerShell Using PowerShell to enforce stronger system and network security Storing data in files, documents, and databases Preface xv Part I: Getting Started with PowerShell 1: First Steps with Windows PowerShell 3 2: Commandlets 25 3: Pipelining 43 4: Advanced Pipelining 59 5: The PowerShell Navigation Model 81 6: The PowerShell Script Language 89 7: PowerShell Scripts 115 8: Using Class Libraries 129 9: PowerShell Tools 151 10: Tips, Tricks and Troubleshooting 171 Part II: Windows PowerShell in Action 11: File Systems 205 12: Documents 235 13: Registry and Software 253 14: Processes and Services 267 15: Computers and Hardware 281 16: Networking 295 17: Directory Services 313 18: User and Group Management in the Active Directory 335 19: Searching in the Active Directory 349 20: Additional Libraries for Active Directory Administration 361 21: Databases 373 22: Advanced Database Operations 389 23: Security Settings 401 24: Advanced Security Administration 413 PartIII: Appendices Appendix A: PowerShell Commandlet Reference 429 Appendix B: PowerShell 2.0 Preview 445 Appendix C: Bibliography 449 Index 453

Powershell and WMI

Author: Richard Siddaway

Publisher: Manning Publications

ISBN: 9781617290114

Category: Computers

Page: 514

View: 8283

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 2.0 Best Practices

Author: Ed Wilson,Windows PowerShell Teams at Microsoft

Publisher: Pearson Education

ISBN: 0735646104

Category: Computers

Page: 752

View: 5028

Apply best practices for automating system administration with Windows PowerShell 2.0 and optimize your operational efficiency and results. This guide captures the field-tested tips, real-world lessons, and candid advice of practitioners across the range of business and technical scenarios and across the scripting life cycle. Discover how to: Take advantage of new features and cmdlets in Windows PowerShell 2.0 Plan scripting usage scenarios and define standards Deploy Windows PowerShell 2.0 to desktops and servers Configure scripting environments Optimize remote scripting capabilities Work with Active Directory and WMI Design functions and modules Optimize input and output Handle errors Document scripts Test and troubleshoot scripts Avoid scripting pitfalls The companion CD includes a fully searchable eBook and sample scripts. For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.

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

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.

Windows PowerShell 3.0 Step by Step

Author: Ed Wilson

Publisher: Microsoft Press

ISBN: 0735669996

Category: Computers

Page: 704

View: 3397

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

Learn PowerShell Toolmaking in a Month of Lunches

Author: Don Jones,Jeffery Hicks

Publisher: Manning Publications

ISBN: 9781617291166

Category: Computers

Page: 289

View: 2254

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

Windows PowerShell 3.0 First Steps

Author: Ed Wilson

Publisher: Pearson Education

ISBN: 0735680965

Category: Computers

Page: 280

View: 5647

Get started with this powerful Windows administration tool Automate Windows administration tasks with ease by learning the fundamentals of Windows PowerShell 3.0. Led by a Windows PowerShell expert, you’ll learn must-know concepts and techniques through easy-to-follow explanations, examples, and exercises. Once you complete this practical introduction, you can go deeper into the Windows PowerShell command line interface and scripting language with Windows PowerShell 3.0 Step by Step. Discover how to: Create effective Windows PowerShell commands with one line of code Apply Windows PowerShell commands across several Windows platforms Identify missing hotfixes and service packs with a single command Sort, group, and filter data using the Windows PowerShell pipeline Create users, groups, and organizational units in Active Directory Add computers to a domain or workgroup with a single line of code Run Windows PowerShell commands on multiple remote computers Unleash the power of scripting with Windows Management Instrumentation (WMI)

Windows PowerShell Pocket Reference

Author: Lee Holmes

Publisher: "O'Reilly Media, Inc."

ISBN: 1449320961

Category: Computers

Page: 169

View: 8353

"Portable help for PowerShell scripters"--Cover.

Windows PowerShell in 24 Hours, Sams Teach Yourself

Author: Timothy L. Warner

Publisher: Sams Publishing

ISBN: 0134049357

Category: Computers

Page: 500

View: 4687

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 for Developers

Enhance Your Productivity and Enable Rapid Application Development

Author: Douglas Finke

Publisher: "O'Reilly Media, Inc."

ISBN: 1449322662

Category: Computers

Page: 210

View: 2434

Want to perform programming tasks better, faster, simpler, and make them repeatable? Take a deep dive into Windows PowerShell and discover what this distributed automation platform can do. Whether you’re a .NET developer or IT pro, this concise guide will show you how PowerShell’s scripting language can help you be more productive on everyday tasks. Quickly learn how to create PowerShell scripts and embed them into your existing applications, write "little languages" to solve specific problems, and take charge of your code. This book includes example scripts that you can easily pull apart, tweak, and then use in your own PowerShell and .NET solutions. Slice and dice text, XML, CSV, and JSON with ease Embed PowerShell to provide scripting capabilities for your C# apps Create GUI applications five to ten times faster with less code Leverage PowerShell’s capabilities to work with the Internet Interact with DLLs and create objects, automatically display properties, and call methods in live interactive sessions Build domain-specific languages (DSLs) and vocabularies to express solutions more clearly Work with Microsoft Office via the Component Object Model (COM) Discover PowerShell v3 features included with Windows 8 and Windows Server 2012

Mastering Windows PowerShell Scripting

Author: Brenton J.W. Blawat

Publisher: Packt Publishing Ltd

ISBN: 1782173560

Category: Computers

Page: 282

View: 4630

If you are a system administrator who wants to become an expert in controlling and automating your Windows environment, then this book is for you. Prior knowledge of PowerShell's core elements and applications is required for this book.