Essential PowerShell

Essential PowerShell
Author: Holger Schwichtenberg
Publsiher: Pearson Education
Total Pages: 550
Release: 2008-06-19
Genre: Computers
ISBN: 9780132715195

Download Essential PowerShell Book in PDF, Epub and Kindle

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

Essential PowerShell for Office 365

Essential PowerShell for Office 365
Author: Vlad Catrinescu
Publsiher: Apress
Total Pages: 244
Release: 2018-03-27
Genre: Computers
ISBN: 9781484231296

Download Essential PowerShell for Office 365 Book in PDF, Epub and Kindle

Take your Office 365 skills to the next level. Master PowerShell for Office 365 to stay competitive in today’s world of highly sought after cloud management skills. With expert guidance, IT pros will learn how to leverage the muscle of PowerShell to automate many advanced administrative tasks not otherwise accessible in the Office 365 Admin Center. You will discover how to unlock configuration options and automate tasks in order to free up valuable time and resources. This book is your companion to administering Office 365 with PowerShell. You will learn time-saving techniques such as how to streamline administrative tasks, and how to manage users, licenses, and Office 365 services. Expert and MVP Vlad Catrinescu introduces each chapter with an overview and basic fundamentals, such as how to connect to your required service in Office 365, so that you have a solid foundation for success. Benefit from learning the theory behind PowerShell for Office 365 and put your knowledge to practice with numerous hands-on code examples. What You’ll Learn Manage users in bulk Export data such as user lists and groups Create and manage Office 365 groups Manage Exchange online distribution lists, mailboxes, and contacts Configure Skype for Business settings Perform compliance searches directly from PowerShell Who This Book Is For Any IT pro who needs to manage Office 365 or one of its services such as Exchange, SharePoint, or Skype for Business. Readers should have a basic knowledge of PowerShell and the Office 365 service they want to manage.

Learn PowerShell Scripting in a Month of Lunches Second Edition

Learn PowerShell Scripting in a Month of Lunches  Second Edition
Author: James Petty,Don Jones,Jeffery Hicks
Publsiher: Simon and Schuster
Total Pages: 334
Release: 2024-04-23
Genre: Computers
ISBN: 9781633438989

Download Learn PowerShell Scripting in a Month of Lunches Second Edition Book in PDF, Epub and Kindle

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.

PowerShell for Sysadmins

PowerShell for Sysadmins
Author: Adam Bertram
Publsiher: No Starch Press
Total Pages: 321
Release: 2020-02-04
Genre: Computers
ISBN: 9781593279189

Download PowerShell for Sysadmins Book in PDF, Epub and Kindle

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

PowerShell Deep Dives

PowerShell Deep Dives
Author: Oisin Grehan,Aleksandar Nikolic,Jeffery Hicks,Richard Siddaway
Publsiher: Simon and Schuster
Total Pages: 693
Release: 2013-07-25
Genre: Computers
ISBN: 9781638353034

Download PowerShell Deep Dives Book in PDF, Epub and Kindle

Summary Here's your chance to learn from the best in the business. PowerShell Deep Dives is a trove of essential techniques, practical guidance, and the expert insights you earn only through years of experience. Editors Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic hand-picked the 28 chapters in the book's four parts: Administration, Scripting, Development, and Platforms. About the Technology PowerShell has permanently changed Windows administration. This powerful scripting and automation tool allows you to control virtually every aspect of Windows and most Microsoft servers like IIS and SQL Server. Here's your chance to learn from the best in the business. About this Book PowerShell Deep Dives is a trove of essential techniques and practical guidance. It is rich with insights from experts who won them through years of experience. The book's 28 chapters, grouped in four parts (Administration, Scripting, Development, and Platforms), were hand-picked by four section editors: Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic. Whether you're just getting started with PowerShell or you already use it daily, you'll find yourself returning to this book over and over. What's Inside Managing systems through a keyhole The Ten Commandments of PowerShell scripting Scalable scripting for large datasets Adding automatic remoting Provisioning web servers and websites automatically to IIS 8 And 23 more fantastic chapters Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the AuthorsEditors Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic are joined by PowerShell experts Chris Bellee, Bartek Bielawski, Robert C. Cain, Jim Christopher, Adam Driscoll, Josh Gavant, Jason Helmick, Don Jones, Ashley McGlone, Jonathan Medd, Ben Miller, James O'Neill, Arnaud Petitjean, Vadims Podans, Karl Prosser, Boe Prox, Matthew Reynolds, Mike Robbins, Donabel Santos, Will Steele, Trevor Sullivan, and Jeff Wouters. Table of Contents PART 1 POWERSHELL ADMINISTRATION Diagnosing and troubleshooting PowerShell remoting CIM sessions 22 Collecting and analyzing performance counter data TCP port communications with PowerShell Managing systems through a keyhole Using PowerShell to audit user logon events Managing and administering a certification authoritydatabase with PowerShell Using PowerShell to reduce Active Directory token bloat PART 2 POWERSHELL SCRIPTING The 10 PowerShell scripting commandments Avoiding the pipeline A template for handling and reporting errors Tips and tricks for creating complex or advancedHTML reports with PowerShell Using and "abusing" dynamic parameters PowerShell type formatting Scalable scripting for large data sets: pipelineand database techniques Building your own WMI-based cmdlets Turning command-line tools into PowerShell tools PART 3 POWERSHELL FOR DEVELOPERS Using Source Control Software with PowerShell Inline .NET code PowerShell and XML: better together Adding automatic remoting to advanced functionsand cmdlets Taming software builds (and other complicated processes)with psake PART 4 POWERSHELL PLATFORMS PowerShell and the SQL Server provider Creating flexible subscriptions in SSRS Inventory database table statistics using PowerShellSQL Server Management Objects WSUS and PowerShell Provisioning IIS web servers and sites with PowerShell Active Directory Group Management application

PowerShell for Office 365

PowerShell for Office 365
Author: Martin Machado,Prashant G Bhoyar
Publsiher: Packt Publishing Ltd
Total Pages: 222
Release: 2017-07-26
Genre: Computers
ISBN: 9781787127890

Download PowerShell for Office 365 Book in PDF, Epub and Kindle

Learn the art of leveraging PowerShell to automate Office 365 repetitive tasks About This Book Master the fundamentals of PowerShell to automate Office 365 tasks. Easily administer scenarios such as user management, reporting, cloud services, and many more. A fast-paced guide that leverages PowerShell commands to increase your productivity. Who This Book Is For The book is aimed at sys admins who are administering office 365 tasks and looking forward to automate the manual tasks. They have no knowledge about PowerShell however basic understanding of PowerShell would be advantageous. What You Will Learn Understand the benefits of scripting and automation and get started using Powershell with Office 365 Explore various PowerShell packages and permissions required to manage Office 365 through PowerShell Create, manage, and remove Office 365 accounts and licenses using PowerShell and the Azure AD Learn about using powershell on other platforms and how to use Office 365 APIs through remoting Work with Exchange Online and SharePoint Online using PowerShell Automate your tasks and build easy-to-read reports using PowerShell In Detail While most common administrative tasks are available via the Office 365 admin center, many IT professionals are unaware of the real power that is available to them below the surface. This book aims to educate readers on how learning PowerShell for Office 365 can simplify repetitive and complex administrative tasks, and enable greater control than is available on the surface. The book starts by teaching readers how to access Office 365 through PowerShell and then explains the PowerShell fundamentals required for automating Office 365 tasks. You will then walk through common administrative cmdlets to manage accounts, licensing, and other scenarios such as automating the importing of multiple users,assigning licenses in Office 365, distribution groups, passwords, and so on. Using practical examples, you will learn to enhance your current functionality by working with Exchange Online, and SharePoint Online using PowerShell. Finally, the book will help you effectively manage complex and repetitive tasks (such as license and account management) and build productive reports. By the end of the book, you will have automated major repetitive tasks in Office 365 using PowerShell. Style and approach This step by step guide focuses on teaching the fundamentals of working with PowerShell for Office 365. It covers practical usage examples such as managing user accounts, licensing, and administering common Office 365 services. You will be able to leverage the processes laid out in the book so that you can move forward and explore other less common administrative tasks or functions.

Pro Windows PowerShell

Pro Windows PowerShell
Author: Hristo Deshev
Publsiher: Apress
Total Pages: 500
Release: 2008-04-06
Genre: Computers
ISBN: 9781430205463

Download Pro Windows PowerShell Book in PDF, Epub and Kindle

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.

PowerShell in Practice

PowerShell in Practice
Author: Richard Siddaway
Publsiher: Simon and Schuster
Total Pages: 1008
Release: 2010-06-07
Genre: Computers
ISBN: 9781638352594

Download PowerShell in Practice Book in PDF, Epub and Kindle

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.