Essential PowerShell

Author: Holger Schwichtenberg

Publisher: Pearson Education

ISBN: 9780132715195

Category: Computers

Page: 504

View: 8886

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

Author: Holger Schwichtenberg

Publisher: Sams Publishing

ISBN: 9780672329661

Category: Computers

Page: 478

View: 5992

A concise introduction to the most common commands and scenarios in Microsoft's power new scripting language and command line shell.
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: 2173

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

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

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

Microsoft Exchange Server PowerShell Essentials

Author: Biswanath Banerjee

Publisher: Packt Publishing Ltd

ISBN: 1782176047

Category: Computers

Page: 210

View: 5567

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

Deploying SharePoint 2016

Best Practices for Installing, Configuring, and Maintaining SharePoint Server 2016

Author: Vlad Catrinescu,Trevor Seward

Publisher: Apress

ISBN: 1484219996

Category: Computers

Page: 394

View: 7821

Learn how to install, configure, and maintain the latest release of Microsoft’s popular SharePoint Server, SharePoint 2016. This latest version brings with it many changes for IT professionals. With this book you will learn how to create an efficient and stable SharePoint environment for your organization. What You’ll Learn Install SharePoint Server 2016, both using the user interface provided by Microsoft, and by using PowerShell Understand your authentication options and associated security considerations Deploy add-ins, either from the store, or from your own custom app catalog Configure Search Service Application using either the provided UI or PowerShell Configure business intelligence components such as Excel Services, SQL Server Reporting Services, and PowerPivot Migrate to SharePoint Server 2016 from either SharePoint Server 2010 or 2013 Understand approaches to high availability, disaster recovery, patching, and ways to monitor and maintain your SharePoint 2016 deployment once it’s up and running Who This Book Is For Anyone tasked with installing, configuring, and maintaining SharePoint Server 2016 in their organization. This book assumes some working knowledge of a previous release of SharePoint Server, such as SharePoint 2010 or SharePoint 2013
Release

Windows PowerShell 3.0 First Steps

Author: Ed Wilson

Publisher: Pearson Education

ISBN: 0735680965

Category: Computers

Page: 280

View: 7397

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

Windows Powershell 6

Essentials for Administration

Author: William Stanek

Publisher: Createspace Independent Publishing Platform

ISBN: 9781545087107

Category:

Page: 290

View: 1043

Covers all release versions of PowerShell for all current versions of the Windows Server and Windows operating systems. Practical and precise, this hands-on guide with ready answers is designed for IT professionals working with Microsoft products, whether for on-premises, hybrid or cloud support. Inside, you'll find expert insights, tips, tricks and workarounds that will show you how to make the most of Windows PowerShell in the shortest amount of time possible. During the course of reading this book, you will master a number of complex topics, techniques, commands and functions. This book focuses on administration tasks, including: Using PowerShell to manage Windows roles and features Inventorying and evaluating computers using scripting Working with PowerShell drives, directories and files Reading and writing file contents Getting and setting security descriptors Creating access rules and taking ownership Configuring file and directory auditing Navigating the Windows Registry Creating and managing registry keys Comparing registry keys Viewing and filtering event logs Setting event log options Writing custom events Managing the state of system services Configuring service options, such as logon and recovery Joining computers to a domain Renaming computers Restarting or shutting down computers remotely Enabling or disabling system restore Creating and using checkpoints Recovering from restore points Examining running processes Analyzing computer performance Monitoring resource usage Windows PowerShell 6: Essentials for Administration can be used with the companion book, Windows PowerShell 6: IT Pro Solutions.
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: 5496

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 System Center PowerShell Essentials

Author: Guruprasad HP,Harshul Patel

Publisher: Packt Publishing Ltd

ISBN: 1784393266

Category: Computers

Page: 140

View: 9482

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

Pro Windows PowerShell

Author: Hristo Deshev

Publisher: Apress

ISBN: 9781430205463

Category: Computers

Page: 493

View: 8785

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

PowerShell Deep Dives

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

Publisher: Manning Publications Company

ISBN: 9781617291319

Category: Computers

Page: 436

View: 3160

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

PowerCLI Essentials

Author: Chris Halverson

Publisher: Packt Publishing Ltd

ISBN: 1785885103

Category: Computers

Page: 194

View: 3018

Simplify and automate server administration tasks with PowerCLI About This Book Automate VMware's VSphere environment by learning the essentials of PowerCLI Impress your peers by developing scripts to perform administration tasks Discover the intricate workings of PowerCLI through simple and real-life examples Who This Book Is For PowerCLI Essentials is focused toward virtualization professionals and system administrators who want to discover and learn about the automation techniques associated with PowerCLI for complex virtual environments. What You Will Learn Download and install PowerCLI and its basics as well as the basics of PowerShell Enchance your scritping experience Build longer scripts and simpler reports Relate a task in VMware administration to a PowerCLI script Discover methods to acquire and change information remotely Set up orchestrator to manage your workflow In Detail Have you ever wished you could automatically get a report with all the relevant information about your VMware environments in exactly the format you want? Or that you could automate a crucial task that needs to be performed on a regular basis? Powerful Command Line Interface (PowerCLI) scripts do all these things and much more for VMware environments. PowerCLI is a command-line interface tool used to automate VMware vSphere environments. It is used to handle complicated administration tasks through use of various cmdlets and scripts, which are designed to handle certain aspects of VSphere servers and to help you manage them. This book will show you the intricacies of PowerCLI through real-life examples so that you can discover the art of PowerCLI scripting. At the start, you will be taught to download and install PowerCLI and will learn about the different versions of it. Moving further, you will be introduced to the GUI of PowerCLI and will find out how to develop single line scripts to duplicate running tasks, produce simple reports, and simplify administration. Next, you will learn about the methods available to get information remotely. Towards the end, you will be taught to set up orchestrator and build workflows in PowerShell with update manager and SRM scripts. Style and approach Each and every topic in this book is explained in a very easy-to-follow fashion with real-life, simple examples so you'll get an idea not only about working with PowerCLI, but will also get an idea about scripting.
Release

Windows PowerShell 3.0 Step by Step

Author: Ed Wilson

Publisher: Microsoft Press

ISBN: 0735669996

Category: Computers

Page: 704

View: 5257

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
Release

Pro PowerShell for Microsoft Azure

Author: Sherif Talaat

Publisher: Apress

ISBN: 1484206657

Category: Computers

Page: 201

View: 7900

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

Getting Started with PowerShell

Author: Michael Shepard

Publisher: Packt Publishing Ltd

ISBN: 1785284908

Category: Computers

Page: 180

View: 2926

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

PowerShell for SQL Server Essentials

Author: Donabel Santos

Publisher: Packt Publishing Ltd

ISBN: 1784397105

Category: Computers

Page: 186

View: 9435

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

Microsoft PowerShell, VBScript and JScript Bible

Author: William R. Stanek,James O'Neill,Jeffrey Rosen

Publisher: John Wiley & Sons

ISBN: 1118080327

Category: Computers

Page: 912

View: 7701

Packed with more than 300 sample scripts and an extensive collection of library functions, this essential scripting book is the most thorough guide to Windows scripting and PowerShell on the market. You’ll examine how Windows scripting is changing the face of system and network administration by giving everyday users, developers, and administrators the ability to automate repetitive tasks. Plus, this is the first time that VBScript, Jscript, and Powershell are all covered in a single resource.
Release

Microsoft Azure Essentials Azure Automation

Author: Michael McKeown

Publisher: Microsoft Press

ISBN: 0735698163

Category: Computers

Page: 112

View: 8034

Microsoft Azure Essentials from Microsoft Press is a series of free ebooks designed to help you advance your technical skills with Microsoft Azure. The second ebook in the series, Microsoft Azure Essentials: Azure Automation, introduces a fairly new feature of Microsoft Azure called Azure Automation. Using a highly scalable workflow execution environment, Azure Automation allows you to orchestrate frequent deployment and life cycle management tasks using runbooks based on Windows PowerShell Workflow functionality. These runbooks are stored in and backed up by Azure. By automating runbooks, you can greatly minimize the occurrence of errors when carrying out repeated tasks and process automation. Watch Microsoft Press’s blog and Twitter (@MicrosoftPress) to learn about other free ebooks in the Microsoft Azure Essentials series.
Release