The Complete Guide to Scripting Microsoft's Command Shell
Author: Lee Holmes
Publisher: "O'Reilly Media, Inc."
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.
This portable reference to Windows PowerShell 3.0 summarizes the command shell and scripting language, and provides a concise reference to the many tasks that make PowerShell so useful. If you’re a busy Windows administrator, and don’t have time to plow through huge books or search online, this is the ideal on-the-job tool. Written by Microsoft PowerShell team member Lee Holmes, and excerpted from his Windows PowerShell Cookbook, this edition offers up-to-date coverage of PowerShell 3.0. You’ll find information on the .NET classes and legacy tools you need to manage your system, along with chapters on how to write scripts, manage errors, and format output. Beginning with a guided tour of Windows PowerShell, this handy guide covers: PowerShell language and environment Regular expression reference XPath quick reference .NET string formatting .NET DateTime formatting Selected .NET classes and their uses WMI reference Selected COM objects and their uses Selected events and their uses Standard PowerShell verbs
Powerful ways to automate and manage Windows administrative tasks, 3rd Edition
Author: Thomas Lee
Publisher: Packt Publishing Ltd
Automate Windows server tasks with the powerful features of the PowerShell Language Key Features Leverage PowerShell to automate complex Windows server tasks Master new features such as DevOps, and containers, and speed up their performance using PowerShell Improve PowerShell's usability, and control and manage Windows-based environments by working through exciting recipes Book Description Windows Server 2019 represents the latest version of Microsoft’s flagship server operating system. It also comes with PowerShell Version 5.1 and has a number of additional features that IT pros find useful. The book helps the reader learn how to use PowerShell and manage core roles, features, and services of Windows Server 2019. You will begin with creating a PowerShell Administrative Environment that has updated versions of PowerShell and the Windows Management Framework, updated versions of the .NET Framework, and third-party modules. Next, you will learn to use PowerShell to set up and configure Windows Server 2019 networking and also managing objects in the AD environment. You will also learn to set up a host to utilize containers and how to deploy containers. You will also be implementing different mechanisms for achieving desired state configuration along with getting well versed with Azure infrastructure and how to setup Virtual Machines, web sites, and shared files on Azure. Finally, you will be using some powerful tools you can use to diagnose and resolve issues with Windows Server 2019. By the end of the book, you will learn a lot of trips and tricks to automate your windows environment with PowerShell What you will learn Perform key admin tasks on Windows Server 2019 Employing best practices for writing PowerShell scripts and configuring Windows Server 2019 Use the .NET Framework to achieve administrative scripting Set up VMs, websites, and shared files on Azure Report system performance using built-in cmdlets and WMI to obtain single measurements Know the tools you can use to diagnose and resolve issues with Windows Server Who this book is for If you are a systems administrator, engineer, or an architect working with Windows Server 2016 interested in upgrading to Windows Server 2019 and automating tasks with PowerShell, then this book is for you. A basic knowledge of PowerShell is expected.
Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook is a concise and above all advanced cookbook, with practical expert recipes for SharePoint and PowerShell automation. If you are a SharePoint administrator or IT Pro who wants to extend your knowledge of PowerShell automation, this book is a must have. You should have a solid grasp of working with SharePoint and PowerShell respectively.
Over 100 recipes to help you leverage PowerShell to automate Windows Server 2016 manual tasks About This Book Automate Windows server tasks with the powerful features of the PowerShell Language Master new features such as DevOps, containers, and Nano servers, and speed up their performance using PowerShell Improve PowerShell's usability, and control and manage Windows-based environments by working through inviting recipes Who This Book Is For If you are a systems administrator, engineer, or an architect working with Windows Server 2016 and want to automate tasks with PowerShell, then this book is for you. A basic knowledge of PowerShell is expected. What You Will Learn Streamline routine administration processes Improve the performance and storage of your Windows server with enhanced large-scale PowerShell scripts Use DSC to leverage Windows server features Generate automatic reports that highlight unexpected changes in your environment Monitor performance and report on system utilization using detailed graphs and analysis Create and manage a reliable and redundant Hyper-V environment Manage your enterprise's patch level Utilize multiple tools and protocols to manage your environment In Detail This book showcases several ways that Windows administrators can use to automate and streamline their job. You'll start with the PowerShell and Windows Server fundamentals, where you'll become well versed with PowerShell and Windows Server features. In the next module, Core Windows Server 2016, you'll implement Nano Server, manage Windows updates, and implement troubleshooting and server inventories. You'll then move on to the Networking module, where you'll manage Windows network services and network shares. The last module covers Azure and DSC, where you will use Azure on PowerShell and DSC to easily maintain Windows servers. Style and approach This is a practical guide packed with attractive recipes to help you effectively use PowerShell to accelerate your daily administrative tasks with Windows server.
This book is written in a Cookbook-style format and provides practical, immediately usable task-based recipes that show you how to manage and maintain your Microsoft Exchange Server 2013 environment with Windows PowerShell 3. Each chapter of the book is written so that it can be used as a desktop reference, or it can be read from beginning to end, allowing you to build a solid foundation for building scripts in your Exchange environment.This Cookbook is for messaging professionals who want to learn how to build real-world scripts with Windows PowerShell 3 and the Exchange Management Shell. If you are a network or systems administrator responsible for managing and maintaining Exchange Server 2013 you will find this highly useful. Only basic knowledge of Exchange Server and PowerShell are required to make the most of this book.
Make the most of PowerShell's features to manage all aspects of your Exchange Server 2016 environment. About This Book Learn to integrate PowerShell with Exchange Server 2016 Write scripts and functions to run tasks automatically, and generate complex reports with PowerShell Use these effective recipes to learn all popular and important PowersShell scripts to manage tasks and avoid errors Who This Book Is For This book is for messaging professionals who want to build real-world scripts with Windows PowerShell and the Exchange Management Shell. You'll also find it indispensable if you're a network or systems administrator responsible for managing and maintaining Exchange Server 2016. What You Will Learn Master the new features and capabilities of PowerShell and Exchange Server 2016 Get to grips with the core PowerShell concepts Use simple PowerShell scripts and commands to get powerful results Generate detailed reports, send the output of commands by email , and schedule scripts to run automatically Import, export, and move mailboxes, and delete messages from mailboxes using the command line Configure transport server settings such as mail relay, tracking logs, transport rules, delivery reports, and more Manage mailbox and public folders Monitor the health of an Exchange environment through built-in cmdlets and other methods Integrate Exchange with Office Online Server, Skype for Business Server, and Exchange Online (Office 365) In Detail We start with a set of recipes on core PowerShell concepts. This will provide you with a foundation for the examples in the book. Next, you'll see how to implement some of the common exchange management shell tasks, so you can effectively write scripts with this latest release. You will then learn to manage Exchange recipients, automate recipient-related tasks in your environment, manage mailboxes, and understand distribution group management within the Exchange Management Shell. Moving on, we'll work through several scenarios where PowerShell scripting can be used to increase your efficiency when managing databases, which are the most critical resources in your Exchange environment. Towards the end, you'll discover how to achieve Exchange High Availability and how to secure your environment, monitor the health of Exchange, and integrate Exchange with Office Online Server, Skype for Business Server, and Exchange Online (Office 365). By the end of the book, you will be able to perform administrative tasks efficiently. Style and approach This practical guide is packed with handy recipes to help you perform common administration tasks, as well as complex tasks in Exchange Server, without any hassle.
Microsoft Exchange Server 2013 is a complex messaging system. Windows PowerShell 5 can be used in conjunction with Exchange Server 2013 to automate and manage routine and complex tasks to save time and money and eliminate errors. Starting by going through key PowerShell concepts and the Exchange Management Shell, this book will get you automating tasks that used to take hours in no time. Diving deeper, you will then manage your mailbox database, client access, and your transport servers with simple but effective scripts. This book finishes with advanced recipes on Exchange Server problems, such as managing distribution groups and maintaining high availability and security.