Windows PowerShell Cookbook

Windows PowerShell Cookbook

Author: Lee Holmes

Publisher: "O'Reilly Media, Inc."

Published: 2010-08-20

Total Pages: 882

ISBN-13: 0596801505

DOWNLOAD EBOOK

With more than 250 ready-to-use recipes, this solutions-oriented introduction to the Windows PowerShell scripting environment and language provides administrators with the tools to be productive immediately.


PowerShell for Sysadmins

PowerShell for Sysadmins

Author: Adam Bertram

Publisher: No Starch Press

Published: 2020-02-04

Total Pages: 321

ISBN-13: 1593279183

DOWNLOAD EBOOK

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


Automating Active Directory Administration with Windows PowerShell 2.0

Automating Active Directory Administration with Windows PowerShell 2.0

Author: Ken St. Cyr

Publisher: John Wiley & Sons

Published: 2011-06-01

Total Pages: 506

ISBN-13: 1118118561

DOWNLOAD EBOOK

Focused content on automating the user authentication and authorization tool for Windows environments Automation helps make administration of computing environments more manageable. It alleviates the repetition of repeating frequent tasks and and automates just about any task for Active Directory, Windows PowerShell 2.0. Focused on everyday and frequently performed tasks, this indispensable guide provides you with the PowerShell solutions for these tasks. Solutions are presented in a step-by-step format so that you can fully grasp how the new Active Directory module for PowerShell provides command-line scripting for administrative, configuration, and diagnostic tasks. Walks you through the processes and tools required to automate everyday tasks Offers PowerShell solutions for maintaining a Windows Server 2008 R2 environment Includes real-world examples, explanations of concepts, and step-by-step solutions This unique book allows you to work more efficiently and effectively and keep up with the ever-increasing demands from businesses.


Microsoft Exchange Server PowerShell Cookbook

Microsoft Exchange Server PowerShell Cookbook

Author: Jonas Andersson

Publisher: Packt Publishing Ltd

Published: 2015-07-29

Total Pages: 464

ISBN-13: 1785281186

DOWNLOAD EBOOK

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.


Practical Automation with PowerShell

Practical Automation with PowerShell

Author: Matthew Dowst

Publisher: Simon and Schuster

Published: 2023-05-09

Total Pages: 414

ISBN-13: 1638351899

DOWNLOAD EBOOK

Take PowerShell beyond simple scripts and build time-saving automations for your team, your users, and the world. In Practical Automation with PowerShell you will learn how to: Build PowerShell functions to automate common and complex tasks Create smart automations that are adaptable to new challenges Structure your code for sharing and reusability Store and secure your automations Execute automations with Azure Automation, Jenkins, Task Scheduler, and Cron Share your automations with your team and non-technical colleagues Store and retrieve data, credentials, and variables Use source control solutions to maintain and test code changes Provide front-end UI solutions for PowerShell automations Practical Automation in PowerShell reveals how you can use PowerShell to build automation solutions for a huge number of common admin and DevOps tasks. Author Matthew Dowst uses his decades of experience to lay out a real blueprint for setting up an enterprise scripting environment with PowerShell. The book goes beyond the basics to show you how to handle the unforeseen complexities that can keep automations from becoming reusable and resilient. From the console to the cloud, you'll learn how to manage your code, avoid common pitfalls, and create sharable automations that are adaptable to different use cases. About the Technology The PowerShell scripting language is a force multiplier, giving you programmatic control over your whole data center. With this powerful tool, you can create reusable automations that radically improve consistency and productivity on your Ops team. This book shows you how to design, write, organize, and deploy scripts to automate operations on systems of all sizes, from local servers to enterprise clusters in the cloud. About the Book Practical Automation with PowerShell: Effective scripting from the console to the cloud shows you how to build PowerShell automations for local and cloud systems. In it, you’ll find tips for identifying automatable tasks, techniques for structuring and managing scripts, and lots of well-explained example code. You’ll even learn how to adapt existing scripts to new use cases and empower non-technical users through easy-to-understand SharePoint frontends. What’s Inside Structure PowerShell code for sharing and reusability Store and secure your automations Execute automation with Azure Automation, Jenkins, Task Scheduler, and Cron Store and retrieve data, credentials, and variables Use source control solutions to maintain and test code changes About the Reader For sysadmin and IT professionals who manage backend systems. About the Author Matthew Dowst has over 15 years of experience in IT management and consulting. Table of contents PART 1 1 PowerShell automation 2 Get started automating PART 2 3 Scheduling automation scripts 4 Handling sensitive data 5 PowerShell remote execution 6 Making adaptable automations 7 Working with SQL 8 Cloud-based automation 9 Working outside of PowerShell 10 Automation coding best practices PART 3 11 End-user scripts and forms 12 Sharing scripts among a team 13 Testing your scripts 14 Maintaining your code


Troubleshooting Windows Server with PowerShell

Troubleshooting Windows Server with PowerShell

Author: Derek Schauland

Publisher: Apress

Published: 2016-04-29

Total Pages: 140

ISBN-13: 1484218515

DOWNLOAD EBOOK

This book shows you how to use PowerShell to quickly pinpoint, diagnose, and solve problems with your Windows Server environment, reducing the need for external tools, and ensuring you stay up-to-date with PowerShell as it quickly becomes one of the most useful tools in an administrator’s toolkit. Authors Derek Schauland and Donald Jacobs take you through a range of examples, showing you how to gather information from different computer sources. Whether you are logged into the server locally or just wanting to check the status of a server from your local computer, the right PowerShell cmdlets can give you a lot of information quickly, and allow you to troubleshoot your servers from the command line with little interaction with the server's desktop. In this book, you'll learn how PowerShell can help you: Understand PowerShell versus the GUI Gather information from Windows event logs Gather information from your server, including memory, hardware configurations, and disk space available Find out what applications are installed on a server Find out which Windows updates have been installed on your computer Check the processes running on your computer and gather information about them, or start and stop them from the command line Quickly check if services are running, and stop or start them as needed Who This Book Is For Windows Administrators, IT Professionals and support personnel needing ways to quickly find and troubleshoot issues in their environment using the included tools. Those entering IT or wishing to develop their PowerShell skills will also benefit from this book.


Windows Server Automation with PowerShell Cookbook

Windows Server Automation with PowerShell Cookbook

Author: Thomas Lee

Publisher: Packt Publishing Ltd

Published: 2021-07-30

Total Pages: 675

ISBN-13: 1800569696

DOWNLOAD EBOOK

Develop a holistic understanding of Windows Server with over 100 PowerShell recipes Key FeaturesUpdated with new recipes on the .NET Framework, enterprise server security, and managing Windows Server with WMILearn PowerShell best practices to automate common tasks and manage AD, enterprise security, Azure, and .NET 5Discover new ways to optimize your PowerShell code by working through easy-to-follow recipesBook Description With a foreword from PowerShell creator Jeffrey Snover, this heavily updated edition is designed to help you learn how to use PowerShell 7.1 effectively and manage the core roles, features, and services of Windows Server in an enterprise setting. All scripts are compatible with both Window Server 2022 and 2019. This latest edition equips you with over 100 recipes you'll need in day-to-day work, covering a wide range of fundamental and more advanced use cases. We look at how to install and configure PowerShell 7.1, along with useful new features and optimizations, and how the PowerShell compatibility solution bridges the gap to older versions of PowerShell. Topics include using PowerShell to manage networking and DHCP in Windows Server, objects in Active Directory, Hyper-V, and Azure. Debugging is crucial, so the book shows you how to use some powerful tools to diagnose and resolve issues with Windows Server. What you will learnPerform key admin tasks on Windows ServerKeep your organization secure with JEA, group policies, logs, and Windows DefenderUse the .NET Framework for administrative scriptingManage data and storage on Windows, including disks, volumes, and filesystemsCreate and configure Hyper-V VMs, implementing storage replication and checkpointsSet up virtual machines, websites, and shared files on AzureReport system performance using built-in cmdlets and WMI to obtain single measurementsApply the right tools and modules to troubleshoot and debug Windows ServerWho this book is for This book is for systems administrators, software architects, developers, or engineers working with Windows Server seeking to automate tasks more effectively with PowerShell 7.1. Basic knowledge of PowerShell is expected.


PowerShell: Automating Administrative Tasks

PowerShell: Automating Administrative Tasks

Author: Michael Shepard

Publisher: Packt Publishing Ltd

Published: 2017-02-24

Total Pages: 737

ISBN-13: 1787128059

DOWNLOAD EBOOK

Learn PowerShell from the inside out, right from basic scripting all the way to becoming a master at automating, managing, and maintaining your Windows environment About This Book Use proven best practices to optimize code and automate redundant tasks Get to grips with PowerShell's advanced functions and effectively administer your system Create a variety of PowerShell scripts to automate your environment Who This Book Is For If you are a system administrator who wants to become an expert in automating and managing your Windows environment, then this course is for you. Some basic understanding of PowerShell would be helpful. What You Will Learn Discover PowerShell commands and cmdlets and understand PowerShell formatting Solve common problems using basic file input/output functions Use .NET classes in Windows PowerShell and C# and manage Exchange Online Use PowerShell in C# to manage Exchange Online and work with .NET classes in PowerShell Automate LYNC clients, consuming client-side object models to administrate SharePoint Online Optimize code through the use of functions, switches, and looping structures Manage files, folders, and registries through the use of PowerShell Discover best practices to manage Microsoft systems In Detail Are you tired of managing Windows administrative tasks manually and are looking to automate the entire process? If yes, then this is the right course for you. This learning path starts your PowerShell journey and will help you automate the administration of the Windows operating system and applications that run on Windows. It will get you up and running with PowerShell, taking you from the basics of installation to writing scripts and performing web server automation. You will explore the PowerShell environment and discover how to use cmdlets, functions, and scripts to automate Windows systems. The next installment of the course focuses on gaining concrete knowledge of Windows PowerShell scripting to perform professional-level scripting. The techniques here are packed with PowerShell scripts and sample C# code to automate tasks. You will use .NET classes in PowerShell and C# to manage Exchange Online. In the final section, you will delve into real-world examples to learn how to simplify the management of your Windows environment. You will get to grips with PowerShell's advanced functions and how to most effectively administer your system. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: Getting Started with PowerShell by Michael Shepard Windows PowerShell for .Net Developers Second Edition by Chendrayan Venkatesan and Sherif Talaat Mastering Windows PowerShell Scripting by Brenton J.W. Blawat Style and approach This is a step-by-step course to help you effectively administer and maintain your development environment with PowerShell.


Windows Server 2012 Hyper-V Cookbook

Windows Server 2012 Hyper-V Cookbook

Author: Leandro Carvalho

Publisher: Packt Publishing Ltd

Published: 2012-11-23

Total Pages: 439

ISBN-13: 184968443X

DOWNLOAD EBOOK

"Windows Server 2012 Hyper-V Cookbook" is a practical cookbook packed with recipes showing and explaining all the features and components of Hyper-V. You'll learn from best practices, tips and tricks and examples of how to automate daily and common tasks. If you are an administrator who wants to master Microsoft Server Virtualization with Windows Server 2012 Hyper-V, then this book is for you. You should be comfortable with virtualization concepts and practices, and knowledge of previous versions of Windows Server would be an advantage.


PowerShell 7 for IT Professionals

PowerShell 7 for IT Professionals

Author: Thomas Lee

Publisher: John Wiley & Sons

Published: 2020-12-22

Total Pages: 464

ISBN-13: 1119644720

DOWNLOAD EBOOK

Take advantage of everything Microsoft’s new PowerShell 7 has to offer PowerShell 7 for IT Pros is your guide to using PowerShell 7, the open source, cross-platform version of Windows PowerShell. Windows IT professionals can begin setting up automation in PowerShell 7, which features many improvements over the early version of PowerShell Core and Windows PowerShell. PowerShell 7 users can enjoy the high level of compatibility with the Windows PowerShell modules they rely on today. This book shows IT professionals—especially Windows administrators and developers—how to use PowerShell7 to engage in their most important tasks, such as managing networking, using AD/DNS/DHCP, leveraging Azure, and more. To make it easy to learn everything PowerShell 7 has to offer, this book includes robust examples, each containing sample code so readers can follow along. Scripts are based on PowerShell 7 running on Windows 10 19H1 or later and Windows Server 2019. • Learn to navigate the PowerShell 7 administrative environment • Use PowerShell 7 to automate networking, Active Directory, Windows storage, shared data, and more • Run Windows Update, IIS, Hyper-V, and WMI and CIM cmdlets within PowerShell 7 • Understand how to handle reporting in the new PowerShell 7 environment PowerShell 7 for IT Pros provides exclusive coverage of using PowerShell with both cloud-based systems and virtualized environments (Hyper V and Azure). Written by PowerShell veteran Thomas Lee, this is the only book you’ll need to get started with PowerShell 7.