Book Image

Microsoft System Center Powershell Essentials

Book Image

Microsoft System Center Powershell Essentials

Overview of this book

Table of Contents (15 chapters)
Microsoft System Center PowerShell Essentials
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
4
Administration of Operations Manager through PowerShell
Index

Preface

Microsoft System Center PowerShell Essentials mainly focuses on efficiently administering, automating, and managing System Center environments using Windows PowerShell. This book will help you to create powerful automation scripts for System Center products using PowerShell; PowerShell techniques efficiently handle SCCM, SCOM, and SCSM with real-time examples and sample codes. It is a step-by-step guide with practical examples and best practices that teaches you how to effectively use PowerShell in a System Center environment.

Microsoft PowerShell as a scripting language has been growing strongly over the last couple of years. It has given administrators and IT professionals much more control over managing and implementing tasks within System Center environments. It provides vast support for a wide range of vendor products and provides a standardized platform for automation and administration. System Center facilitates the configuration, monitoring, and management of the components of private cloud. It covers products such as SCCM, SCOM, SCSM, SCVMM, and so on.

Starting with an introduction to PowerShell, this quick reference guide will enable you to get the most out of the latest Microsoft PowerShell techniques to manage System Center products. You will get acquainted with the enhancements in the latest version of System Center automation through real-time examples.

By the end of this book, you will have the confidence to create a variety of PowerShell scripts and efficiently administer and maintain your System Center environment with PowerShell.

What this book covers

Chapter 1, Setting up the Environment to Use PowerShell, gives you an idea about the purpose of this book, and how to set up the environment with required modules for three products, SCCM, SCOM, and SCSM.

Chapter 2, Administration of Configuration Manager through PowerShell, focuses on administration activities for Configuration Manager, such as inventory, discovery, alert management, and so on.

Chapter 3, Scenario-based Scripting for SCCM Administration, gives you an insight into SCCM real-time applications by giving various scenarios, which are explained with the help of the required code blocks.

Chapter 4, Administration of Operations Manager through PowerShell, focuses on administration activities for Operations Manager, such as monitoring, authoring, basic administration, and so on.

Chapter 5, Scenario-based Scripting for SCOM Administration, gives you an insight into SCOM real-time applications by providing various scenarios, which are explained with the help of the required code blocks.

Chapter 6, Administration of Service Manager through PowerShell, focuses on the administration activities of Service Manager, such as the use of SMlets, incident reporting, managing service requests, and so on.

Chapter 7, Scenario-based Scripting for SCSM Administration, gives you more insight into SCSM real-time applications by providing various scenarios, which are explained with the help of the required code blocks.

Chapter 8, Best Practices, focuses on real-time applications, which can be used to derive best practices for these three products.

What you need for this book

You need to have these products to take full advantage of this book:

  • Windows PowerShell (v2.0 or higher)

  • System Center Configuration Manager (2007 or higher)

  • System Center Operational Manager (2010 or higher)

  • System Center Service Manager (2010 or higher)

Who this book is for

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 how to manage systems using PowerShell.

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "For example, we will refer to the parent installation folder as C:\Program Files(x86)."

A block of code is set as follows:

$UserRoleArgs = @{
  UserRoleType = "ReadOnlyOperator"
  DisplayName = "restricted role"
  Queue = @()
  Group = @()
  Task = @()
  User = "PSLAB\SCSMUser01"
  }
New-SCSMUserRole @UserRoleArgs

Any command-line input or output is written as follows:

PS C :\> cd "C:\Program Files(x86)\Microsoft Configuration Manager\AdminConsole\bin"

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "In the Service Manager console, click on Administration."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail , and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at , and we will do our best to address the problem.