Microsoft System Center PowerShell Essentials

Efficiently administer, automate, and manage System Center environments using Windows PowerShell

Microsoft System Center PowerShell Essentials

Guruprasad HP, Harshul Patel

Efficiently administer, automate, and manage System Center environments using Windows PowerShell
Mapt Subscription
FREE
€29.98/m after trial
eBook
€16.80
RRP €23.98
Save 29%
Print + eBook
€24.99
RRP €24.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€16.80
€24.99
€29.98p/m after trial
RRP €23.98
RRP €24.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781784397142
Paperback140 pages

Book Description

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 when managing and implementing tasks within System Center environments. System Center facilitates the configuring, monitoring, and managing of the components of a 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 the suite of System Center products. You will also get acquainted with the enhancements in the latest version of System Center automation with 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.

Table of Contents

Chapter 1: Setting up the Environment to Use PowerShell
The purpose of this book
The target audience
Why use PowerShell?
PowerShell version references
Setting up the System Center Configuration Manager environment
Setting up the System Center Operations Manager environment
Setting up the System Center Service Manager environment
Summary
Chapter 2: Administration of Configuration Manager through PowerShell
Introducing Configuration Manager through PowerShell
Hierarchy details
Asset and compliance
Software distribution
The operating system deployment
Software update management
Summary
Chapter 3: Scenario-based Scripting for SCCM Administration
Scenario 1 – adding multiple distribution points to a distribution point group
Scenario 2 – creating multiple packages with the .csv/.txt file input
Scenario 3 – using PowerShell to get the Configuration Manager installation directory
Scenario 4 – checking for SCCM services
Scenario 5 – operating a system deployment precheck
Scenario 6 – running a ping test
Scenario 7 – getting a list of primary sites in the Configuration Manager environment
Scenario 8 – getting a list of all site servers in the Configuration Manager environment
Scenario 9 – getting component status in Configuration Manager
Scenario 10 – installing the SCCM client agent version
Summary
Chapter 4: Administration of Operations Manager through PowerShell
Monitoring
Authoring
Administration
Summary
Chapter 5: Scenario-based Scripting for SCOM Administration
Resolving all SCOM alerts
Listing and exporting all SCOM monitors
Listing and exporting all SCOM overrides
Listing and exporting gray agents in SCOM
Finding management pack details for a particular alert
Listing past alerts
Backing up unsealed management packs
Counting alerts created by a monitor
Enabling specific SCOM monitors
Listing all updated management packs
Listing and exporting repeating SCOM alerts
Getting SCOM alerts specific to a computer
Listing all unhealthy SCOM agents
Disabling SCOM alerts
Listing all heartbeat failure machines
Listing all management server open alerts
Listing management servers in the maintenance mode
Listing the health status of management servers
Putting an IIS 7 application in the maintenance mode
Summary
Chapter 6: Administration of Service Manager through PowerShell
SMlets
Incident reporting
Auto closing the resolved incidents and closing the completed changes
Changing the status of a service request
Summary
Chapter 7: Scenario-based Scripting for SCSM Administration
Adding classes to the SCSM allow list
Exporting management packs
Backing up unsealed management packs
Manual activity and service request check
Tickets status check
Support group and tier queue check for multiple tickets
Updating field information for a number of users
Finding GUID of any SCSM template
Getting queue members for SCSM
Summary
Chapter 8: Best Practices
Integrating SQL commands with PowerShell
SCCM health check activities
Data warehouse registration
Summary

What You Will Learn

  • Set up an environment to effectively use PowerShell for SCCM, SCOM, and SCSM
  • Understand the advanced usage of all the available cmdlets with real-time examples
  • Administer and maintain a System Center environment with PowerShell
  • Create both simple and advanced functions for different cmdlets with PowerShell
  • Get an insight into real-time System Center applications that you can automate using PowerShell
  • Get to grips with scenario-based scripting for efficient System Center administration and maintenance
  • Discover PowerShell tricks and best practices

Authors

Table of Contents

Chapter 1: Setting up the Environment to Use PowerShell
The purpose of this book
The target audience
Why use PowerShell?
PowerShell version references
Setting up the System Center Configuration Manager environment
Setting up the System Center Operations Manager environment
Setting up the System Center Service Manager environment
Summary
Chapter 2: Administration of Configuration Manager through PowerShell
Introducing Configuration Manager through PowerShell
Hierarchy details
Asset and compliance
Software distribution
The operating system deployment
Software update management
Summary
Chapter 3: Scenario-based Scripting for SCCM Administration
Scenario 1 – adding multiple distribution points to a distribution point group
Scenario 2 – creating multiple packages with the .csv/.txt file input
Scenario 3 – using PowerShell to get the Configuration Manager installation directory
Scenario 4 – checking for SCCM services
Scenario 5 – operating a system deployment precheck
Scenario 6 – running a ping test
Scenario 7 – getting a list of primary sites in the Configuration Manager environment
Scenario 8 – getting a list of all site servers in the Configuration Manager environment
Scenario 9 – getting component status in Configuration Manager
Scenario 10 – installing the SCCM client agent version
Summary
Chapter 4: Administration of Operations Manager through PowerShell
Monitoring
Authoring
Administration
Summary
Chapter 5: Scenario-based Scripting for SCOM Administration
Resolving all SCOM alerts
Listing and exporting all SCOM monitors
Listing and exporting all SCOM overrides
Listing and exporting gray agents in SCOM
Finding management pack details for a particular alert
Listing past alerts
Backing up unsealed management packs
Counting alerts created by a monitor
Enabling specific SCOM monitors
Listing all updated management packs
Listing and exporting repeating SCOM alerts
Getting SCOM alerts specific to a computer
Listing all unhealthy SCOM agents
Disabling SCOM alerts
Listing all heartbeat failure machines
Listing all management server open alerts
Listing management servers in the maintenance mode
Listing the health status of management servers
Putting an IIS 7 application in the maintenance mode
Summary
Chapter 6: Administration of Service Manager through PowerShell
SMlets
Incident reporting
Auto closing the resolved incidents and closing the completed changes
Changing the status of a service request
Summary
Chapter 7: Scenario-based Scripting for SCSM Administration
Adding classes to the SCSM allow list
Exporting management packs
Backing up unsealed management packs
Manual activity and service request check
Tickets status check
Support group and tier queue check for multiple tickets
Updating field information for a number of users
Finding GUID of any SCSM template
Getting queue members for SCSM
Summary
Chapter 8: Best Practices
Integrating SQL commands with PowerShell
SCCM health check activities
Data warehouse registration
Summary

Book Details

ISBN 139781784397142
Paperback140 pages
Read More

Read More Reviews

Recommended for You

Learning PowerShell DSC Book Cover
Learning PowerShell DSC
€ 43.18
€ 30.24
Windows Server 2012 Automation with PowerShell Cookbook Book Cover
Windows Server 2012 Automation with PowerShell Cookbook
€ 31.18
€ 21.84
Mastering Windows Server 2016 Book Cover
Mastering Windows Server 2016
€ 50.38
€ 35.28
PowerShell 3.0 Advanced Administration Handbook Book Cover
PowerShell 3.0 Advanced Administration Handbook
€ 28.78
€ 20.16
Microsoft System Center 2012 Orchestrator Cookbook Book Cover
Microsoft System Center 2012 Orchestrator Cookbook
€ 23.98
€ 16.80
PowerShell Troubleshooting Guide Book Cover
PowerShell Troubleshooting Guide
€ 17.98
€ 12.60