Essential PowerShell

Author: Holger Schwichtenberg

Publisher: Pearson Education

ISBN: 9780132715195

Category: Computers

Page: 504

View: 3385

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
Release

Essential PowerShell for Office 365

Managing and Automating Skills for Improved Productivity

Author: Vlad Catrinescu

Publisher: Apress

ISBN: 1484231295

Category: Computers

Page: 234

View: 1990

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.
Release

Microsoft Exchange Server PowerShell Essentials

Author: Biswanath Banerjee

Publisher: Packt Publishing Ltd

ISBN: 1782176047

Category: Computers

Page: 210

View: 9176

Leverage the power of basic Windows PowerShell scripts to manage your Exchange messaging environment About This Book Get to grips with Windows PowerShell and how it can be used to manage various aspects of the operating system and applications Become proficient in PowerShell and apply it to manage Exchange infrastructure on-premise or via Exchange Online as part of Office 365 Learn to create Windows PowerShell scripts to do administrative tasks with this step-by-step, easy-to-follow guide Who This Book Is For This book is for administrators with a basic or limited understanding of Windows PowerShell and who want to increase their skill set in managing both the Exchange On Premise and Online environments. What You Will Learn Deep dive into the Windows PowerShell basics Create and manage Recipients and permissions Manage Distribution Group members, permissions, and group types Understand Certificates and Role-Based Access Control using real-world examples Review the usage of email address, address book, and retention policies with examples Learn to manage Exchange Client Access and Mailbox Server roles Use PowerShell for auditing and risk management in your Exchange organization Manage a highly available Exchange environment using PowerShell Interact with Exchange through the use of the Exchange Web Services-managed API In Detail PowerShell has become one of the most important skills in an Exchange administrator's armory. PowerShell has proved its mettle so widely that, if you're not already starting to learn PowerShell, then you're falling behind the industry. It isn't difficult to learn PowerShell at all. In fact, if you've ever run commands from a CMD prompt, then you'll be able to start using PowerShell straightaway. This book will walk you through the essentials of PowerShell in Microsoft Exchange Server and make sure you understand its nitty gritty effectively. You will first walk through the core concepts of PowerShell and their applications. This book discusses ways to automate tasks and activities that are performed by Exchange administrators and that otherwise take a lot of manual effort. Microsoft Exchange PowerShell Essentials will provide all the required details for Active Directory, System, and Exchange administrators to help them understand Windows PowerShell and build the required scripts to manage the Exchange Infrastructure. Style and approach This book is written with its target audience in mind; concepts are explained and followed by real-life examples. A comprehensive script is provided in each chapter to give you hands-on practice with all the major commands used in it.
Release

Microsoft System Center PowerShell Essentials

Author: Guruprasad HP,Harshul Patel

Publisher: Packt Publishing Ltd

ISBN: 1784393266

Category: Computers

Page: 140

View: 414

If you are a Microsoft System Center administrator who manages System Center environments and utilizes the console for management, then this book is ideal for you. This book is also for System Center users who now want to learn to manage systems using PowerShell.
Release

Windows PowerShell Cookbook

The Complete Guide to Scripting Microsoft's New Command Shell

Author: Lee Holmes

Publisher: "O'Reilly Media, Inc."

ISBN: 1449399622

Category: Computers

Page: 884

View: 3799

Do you know how to use Windows PowerShell to navigate the filesystem and manage files and folders? Or how to retrieve a web page? This introduction to the PowerShell language and scripting environment provides more than 430 task-oriented recipes to help you solve the most complex and pressing problems, and includes more than 100 tried-and-tested scripts that intermediate to advanced system administrators can copy and use immediately. You'll find hands-on tutorials on fundamentals, common tasks, and administrative jobs that you can apply whether you're on a client or server version of Windows. You also get quick references to technologies used in conjunction with PowerShell, including format specifiers and frequently referenced registry keys to selected .NET, COM, and WMI classes. With Windows PowerShell Cookbook, you’ll get more done in less time. Take a tour of PowerShell’s core features, including the command model, object-based pipeline, and ubiquitous scripting Learn PowerShell fundamentals such as the interactive shell and fundamental pipeline and object concepts Perform common tasks that involve working with files, Internet-connected scripts, user interaction, and more Solve tasks in systems and enterprise management, such as working with Active Directory, the filesystem, registry, event logs, processes, and services
Release

PowerShell for SQL Server Essentials

Author: Donabel Santos

Publisher: Packt Publishing Ltd

ISBN: 1784397105

Category: Computers

Page: 186

View: 4668

This book is written for SQL Server administrators and developers who want to leverage PowerShell to work with SQL Server. Some background with scripting will be helpful but not necessary.
Release

Essential SharePoint 2010

Overview, Governance, and Planning

Author: Scott Jamison,Susan Hanley,Mauro Cardarelli

Publisher: Addison-Wesley Professional

ISBN: 0321700783

Category: Computers

Page: 624

View: 3436

The Only Book That’s Completely Focused on Maximizing the Business Value of SharePoint 2010 Solutions Essential SharePoint® 2010 approaches Microsoft SharePoint Server 2010 from a strict business value perspective, explaining exactly how to plan and implement SharePoint solutions to achieve superior business results. The authors are leading enterprise SharePoint consultants and draw on their unsurpassed experience to focus on the SharePoint features that offer the most real-world value. You’ll find practical advice about how to succeed with knowledge management, business intelligence, and process improvement, and how to derive value from new innovations such as social tagging and mashups. The book includes comprehensive, “in the trenches” guidance on planning, architecture, governance, training, and other key issues most SharePoint books ignore. The authors identify success factors, intangibles, and “gotchas,” helping you systematically reduce project risk and time-to-value ratio. Learn how to Customize your best portal or collaboration strategy Sustain a portal for continual, measurable value Leverage the new community and social features in SharePoint 2010 Succeed with enterprise content management Streamline business processes with Workflow and Forms Choose the right roles for Web collaboration, search, and Microsoft Office Plan for secure external collaboration Migrate smoothly from SharePoint 2007 Train and communicate for a successful launch Whether you’re a business leader, IT manager, architect, analyst, developer, or consultant, this book will help you tightly align SharePoint projects with business strategy to deliver outstanding results.
Release

HDInsight Essentials - Second Edition

Author: Rajesh Nadipalli

Publisher: Packt Publishing Ltd

ISBN: 1784396664

Category: Computers

Page: 178

View: 7098

If you want to discover one of the latest tools designed to produce stunning Big Data insights, this book features everything you need to get to grips with your data. Whether you are a data architect, developer, or a business strategist, HDInsight adds value in everything from development, administration, and reporting.
Release

Automating Microsoft Windows Server 2008 R2 with Windows PowerShell 2.0

Author: Matthew Hester,Sarah Dutkiewicz

Publisher: John Wiley & Sons

ISBN: 1118103084

Category: Computers

Page: 408

View: 6677

Learn to automate the top server operating system, Windows Server 2008 R2 Windows PowerShell 2.0 allows you to automate nearly any task for managing Windows Server, going from dozens of clicks to a single command, and repeated tasks to automated tasks. Using screen shots and helpful exercises, this book walks you through the many benefits of automating Windows Server with PowerShell 2.0, such as allowing for scalable, flexible, and rapid deployments and changes; increasing cost effectiveness; providing a timely return on IT investment; lowering labor headcount; creating secure computing environments; and establishing reliable enterprise infrastructures. In addition, real-world examples provide reinforced learning, aimed at ensuring that you work as efficiently and effectively as possible by automating both simple and complex administrative tasks with Powershell 2.0. Explains how to automate both simple and complex tasks in Windows Server 2008 R2 with Powershell 2.0 Addresses how Windows Server 2008 R2 comes with more than 550 cmdlets, allowing you to automate nearly anything Offers numerous real-world examples, end-of-chapter exercises, and helpful screen shots to reinforce your learning process The power is in your hands! Start working smarter, not harder, by automating Windows Server 2008 R2 tasks with Powershell 2.0.
Release

PowerShell 5

Windows-Automation für Einsteiger und Profis

Author: Tobias Weltner

Publisher: O'Reilly

ISBN: 3960100345

Category: Computers

Page: 1158

View: 4990

In diesem Standardwerk zu PowerShell finden Einsteiger und Profis fundiertes Hintergrundwissen kombiniert mit praxisnahen und sofort einsetzbaren Codebeispielen. Der klare Aufbau und das umfassende Themenspektrum des Buchs vermitteln, wie die vielfältigen Funktionen der PowerShell zusammenhängen und aufeinander aufbauen. Einsteiger finden sofort Zugang zur PowerShell. Autodidaktisch erworbene Vorkenntnisse werden komplettiert und vertieft. Profis entdecken unzählige wertvolle Hinweise, Praxistipps und "Best Practices" für professionelles und sicheres Skripten. Aus dem Inhalt: ■ Schnelleinstieg: PowerShell-Grundlagen und rasche Erfolge mit interaktiven Kommandos ■ PowerShell-Skripte, Sicherheitseinstellungen und digitale Signaturen ■ Durchdachter Einsatz der objektorientierten Pipeline ■ Textoperationen, Parsing und Reguläre Ausdrücke ■ Mit Objekten und Typen direkt auf das .NET Framework zugreifen ■ Wiederkehrende Aufgaben als eigene Befehle in Modulen verfügbar machen ■ Mit PowerShellGet Module und Skripte zentral verwalten ■ Prozessübergreifendes Debugging, Fehlerbehandlung und Logging ■ Abgesicherte Fernzugriffe und Sicherheitsstrategien (JEA) ■ Hintergrundjobs, Multithreading und Performancesteigerung ■ Workflows und Desired State Configuration (DSC) ■ Benutzeroberflächen mit WPF gestalten ■ Professionelles Test-Driven Development (TDD) mit Pester
Release

Microsoft Azure Essentials - Fundamentals of Azure

Author: Michael Collier,Robin Shahan

Publisher: Microsoft Press

ISBN: 0735697302

Category: Computers

Page: 246

View: 7983

Microsoft Azure Essentials from Microsoft Press is a series of free ebooks designed to help you advance your technical skills with Microsoft Azure. The first ebook in the series, Microsoft Azure Essentials: Fundamentals of Azure, introduces developers and IT professionals to the wide range of capabilities in Azure. The authors - both Microsoft MVPs in Azure - present both conceptual and how-to content for key areas, including: Azure Websites and Azure Cloud Services Azure Virtual Machines Azure Storage Azure Virtual Networks Databases Azure Active Directory Management tools Business scenarios Watch Microsoft Press’s blog and Twitter (@MicrosoftPress) to learn about other free ebooks in the “Microsoft Azure Essentials” series.
Release

Powershell

For Beginners! Master the Powershell Command Line in 24 Hours

Author: Alex Artuso

Publisher: Createspace Independent Publishing Platform

ISBN: 9781530411825

Category:

Page: 84

View: 3880

PowerShell For Beginners! The Ultimate Beginners Crash Course To Mastering The PowerShell Command Line Quickly And Easily Are You Ready To Learn How To Write Clean, Efficient PowerShell Scripts? If So You've Come To The Right Place - Regardless Of How Little Experience You May Have! Learning to program is a fantastic still, and if you're a newbie you've ended up in the right place! PowerShell is a fantastic first or second programming language to learn (and master with the help of this book!). There's a ton of other technical guides out there that aren't clear and concise, and in my opinion use far too much jargon. My job is to teach you in simple, easy to follow terms how to get started and excel at PowerShell programming. You'll find my personal notes and tips peppered throughout the book, making it personal and easy to learn. Here's A Preview Of What PowerShell For Beginners! Contains... A Step Back Into The History Of PowerShell Setting Up The PowerShell Playground! Getting Ready To Run Customizing The Shell & Online Resources PowerShell Versions And Consoles Explained Discovering Commands, Parameters & Strings Essential PowerShell Terminology Working With PowerShell Commands The Piping Function Explained! And Much, Much More!
Release

Microsoft Hyper-V PowerShell Automation

Author: Vinith Menon

Publisher: Packt Publishing Ltd

ISBN: 1784392200

Category: Computers

Page: 124

View: 7945

This book is great for administrators who are new to automating Hyper-V administration tasks using PowerShell. If you are familiar with the PowerShell command line and have some experience with the Windows Server, this book is perfect for you.
Release

Windows PowerShell 2 For Dummies

Author: Steve Seguis

Publisher: John Wiley & Sons

ISBN: 0470535784

Category: Computers

Page: 416

View: 1728

Prepare for the future of Microsoft automation with this no-nonsense guide Windows PowerShell 2 is the scripting language that enables automation within the Windows operating system. Packed with powerful new features, this latest version is complex, and Windows PowerShell 2 For Dummies is the perfect guide to help system administrators get up to speed. Written by a Microsoft MVP with direct access to the program managers and developers, this book covers every new feature of Windows PowerShell 2 in a friendly, easy-to-follow format. Windows PowerShell 2 is the updated scripting language that enables system administrators to automate Windows operating systems System administrators with limited scripting experience will find this book helps them learn the fundamentals of Windows PowerShell 2 quickly and easily Translates the jargon and complex syntax of Windows PowerShell 2 Covers script debugging improvements, the ability to invoke commands remotely, and the new user interface Uses real-world applications to clarify the theory, fundamentals, and techniques of the scripting language Written by a Microsoft MVP with direct access to the developers of Windows PowerShell 2 Windows PowerShell 2 For Dummies makes this tool easily accessible to administrators of every experience level.
Release

Microsoft Windows Operating System Essentials

Author: Tom Carpenter

Publisher: John Wiley & Sons

ISBN: 1118240596

Category: Computers

Page: 400

View: 527

A full-color guide to key Windows 7 administration concepts andtopics Windows 7 is the leading desktop software, yet it can be adifficult concept to grasp, especially for those new to the fieldof IT. Microsoft Windows Operating System Essentials is anideal resource for anyone new to computer administration andlooking for a career in computers. Delving into areas such asfundamental Windows 7 administration concepts and various desktopOS topics, this full-color book addresses the skills necessary forindividuals looking to break into a career in IT. Each chapter begins with a list of topic areas to be discussed,followed by a clear and concise discussion of the core Windows 7administration concepts and skills necessary so you can gain astrong understanding of the chapter topic areas. The chaptersconclude with review questions and suggested labs, so you can gaugeyour understanding of the chapter's contents. Offers in-depth coverage of operating systemconfigurations Explains how to install and upgrade client systems Addresses managing applications and devices Helps you understand operating system maintenance Covers the topics you need to know for the MTA 98-349 exam The full-color Microsoft Windows 7 Essentials provesitself to be an invaluable resource on Windows 7 and featuresadditional learning tutorials and tools.
Release

Active Directory with PowerShell

Author: Uma Yellapragada

Publisher: Packt Publishing Ltd

ISBN: 1782176004

Category: Computers

Page: 230

View: 918

If you are looking to automate repetitive tasks in Active Directory management using the PowerShell module, then this book is for you. Any experience in PowerShell would be an added advantage.
Release

Powershell

The What, When and How of Powershell

Author: David Chang

Publisher: Createspace Independent Publishing Platform

ISBN: 9781548542726

Category:

Page: 72

View: 4157

Ready To Learn Efficient PowerShell Scripts? Yes, you can use Windows PowerShell Help system as the quickest way to discover the commands you need for the particular task you want to accomplish. Windows PowerShell is Microsoft's standard automation tool and something that every Windows administrator will eventually have to understand. The book, "PowerShell: The PowerShell for Beginners Guide to Learn PowerShell Scripting, PowerShell 5 and Windows PowerShell," is filled with examples and fun little exercises that will show the reader the results of their work immediately and encourages the reader to continue learning. It provides the background necessary to apply PowerShell automation and 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. What you will learn inside the book: The Basics of PowerShell Learning the PowerShell Commands and Powershell Command Line PowerShell Script Creation PowerShell Providers Working with Files and Folders Making PowerShell Work for You PowerShell Terminology This book will guide you through the very basics and up to the point where you will have enough tools to learn more advanced guidebooks or continue scripting and automating Windows using PowerShell. No Experience With Windows Powershell Or Other Scripting Technologies Necessary This book is designed for anyone who wants to learn Windows PowerShell. By the end of the book, you will be able to: Optimize code through the use of functions, switches, and looping structures Utilize variables, hashes, and arrays to store data Work with Objects and Operators to test and manipulate data Create and implement regular expressions in PowerShell scripts Leverage session-based remote management Manage files, folders, and registries through the use of PowerShell Discover the best practices to manage Microsoft systems 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. What are you waiting for? Download "PowerShell: The PowerShell for Beginners Guide to Learn PowerShell Scripting, PowerShell 5 and Windows PowerShell" right now and prepare for the future of Microsoft automation!
Release

Windows PowerShell

Grundlagen & Scripting-Praxis für Einsteiger – Für alle Versionen

Author: Tobias Weltner

Publisher: O'Reilly

ISBN: 3960101783

Category: Computers

Page: 420

View: 6801

PowerShell ist eine leistungsfähige und vielseitige Kommandozeilenund Programmiersprache. Windows-Anwender besitzen sie bereits, denn sie ist Teil des Betriebssystems. Linuxund MacOS-Anwender können PowerShell kostenlos herunterladen. PowerShell wurde entwickelt, um Routineaufgaben in der IT zu automatisieren, anstatt mit immer denselben Klicks und Handgriffen Zeit zu vergeuden. PowerShell-Kenntnisse sind für Windows-Administratoren unverzichtbar. Da PowerShell inzwischen auf Linux und MacOS unterstützt wird, eignet sie sich auch für die Administration heterogener Umgebungen. Aber auch ambitionierte Privatanwender schätzen PowerShell als leicht zu erlernende Programmierspache, mit der man z.B. automatisch Sicherungskopien anlegen oder einen Downloadmanager einrichten kann. Dieses Buch ist die überarbeitete und gekürzte Fassung des über 1.100 Seiten starken PowerShell 5: Windows-Automation für Einsteiger und Profis und konzentriert sich auf die für Einsteiger wesentlichen Inhalte. Sie benötigen kein Vorwissen und können mit überschaubarem Zeitaufwand Schritt für Schritt die Möglichkeiten der PowerShell entdecken. Die Beispiele verwenden den Befehlssatz der Windows PowerShell. Nicht alle Beispiele sind auf Linux und MacOS lauffähig. Aus dem Inhalt: PowerShell auf Windows, Linux, MacOS einsatzbereit machenSchnelleinstieg: rasche Erfolge mit interaktiven KommandosRoutineaufgaben mit PowerShell-Skripten lösenDurchdachter Einsatz der objektorientierten PipelineTextoperationen, Parsing und reguläre AusdrückeDirekter .NET-Framework-Zugriff mit Objekten und TypenWiederkehrende Aufgaben als eigene Befehle in Modulen verfügbar machenMit PowerShellGet Module und Skripte zentral verwalten
Release

Microsoft Windows Server Administration Essentials

Author: Tom Carpenter

Publisher: John Wiley & Sons

ISBN: 111814869X

Category: Computers

Page: 400

View: 8738

The core concepts and technologies you need to administer aWindows Server OS Administering a Windows operating system (OS) can be a difficulttopic to grasp, particularly if you are new to the field of IT.This full-color resource serves as an approachable introduction tounderstanding how to install a server, the various roles of aserver, and how server performance and maintenance impacts anetwork. With a special focus placed on the new Microsoft TechnologyAssociate (MTA) certificate, the straightforward,easy-to-understand tone is ideal for anyone new to computeradministration looking to enter the IT field. Each chapter offers aclear and concise look at the core Windows administration conceptsyou need to know to gain an understanding of these difficulttopics. Offers a clear, no-nonsense approach to administering a Windowsoperating system and presents it in such a way that IT beginnerswill confidently comprehend the subject matter Targets the MTA 98-365 exam by covering Windows Serverinstallation, server roles, storage, and active directoryinfrastructure Provides you with a solid foundation of various networkingtopics so that you can gain a strong understanding of WindowsServer administration concepts Includes review questions and suggested labs to further enhanceyour learning process With this book by your side, you will be armed with the coreconcepts and technologies needed to administer a Windows Serveroperating system.
Release