Microsoft System Center PowerShell Essentials
eBook - ePub

Microsoft System Center PowerShell Essentials

Guruprasad HP, Harshul Patel

Share book
  1. 140 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Microsoft System Center PowerShell Essentials

Guruprasad HP, Harshul Patel

Book details
Book preview
Table of contents
Citations

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Microsoft System Center PowerShell Essentials an online PDF/ePUB?
Yes, you can access Microsoft System Center PowerShell Essentials by Guruprasad HP, Harshul Patel in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Administración de sistemas. We have over one million books available in our catalogue for you to explore.

Information

Microsoft System Center PowerShell Essentials


Table of Contents

Microsoft System Center PowerShell Essentials
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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
Connecting to Windows PowerShell for SCCM
Connecting to Windows PowerShell from the SCCM console
Setting up the System Center Operations Manager environment
Connecting to Windows PowerShell for SCOM
Setting up the System Center Service Manager environment
Connecting to Windows PowerShell for SCSM
Summary
2. Administration of Configuration Manager through PowerShell
Introducing Configuration Manager through PowerShell
Hierarchy details
Site details
Discovery details
Boundary details
Distribution point details
Management point details
Other site role details
Asset and compliance
Collection details
Reading Configuration Manager status messages
Creating new user/device collections
Handling Configuration Manager objects
The client settings information
Alert management
Software distribution
Handling packages and applications
Handling programs
Handling deployment types
Handling application or package deployment
Creating an application catalog web service point and application catalog website point roles
The operating system deployment
An operating system image
Operating system installers
Boot image details
Handling drivers for deployments
Gathering the task sequence
Software update management
Software catalog details
Summary
3. Scenario-based Scripting for SCCM Administration
Scenario 1 – adding multiple distribution points to a distribution point group
Prescripting activities
Assumption
Scenario 2 – creating multiple packages with the .csv/.txt file input
Prescripting activities
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
Prescripting activities
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
4. Administration of Operations Manager through PowerShell
Monitoring
Knowing a management group
Alert management
Alert resolution
Authoring
Discovery management
Class and instance
Groups
Administration
Management servers
Agent management
Agent installation
SCOM proxy agents
Management pack details
SCOM rules
SCOM monitors
Database grooming
Alert notifications
Summary
5. Scenario-based Scripting for SCOM Administration
Resolving all SCOM alerts
Listing and exporting all SCOM monitors
Assumptions
Listing and exporting all SCOM overrides
Assumptions
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
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
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
8. Best Practices
Integrating SQL commands with PowerShell
SCCM health check activities
Checking the SCCM site server availability
Checking the SCCM and dependent service status
Checking the site server disk space
Site server memory utilization test
Checking for site server CPU utilization
Checking for SCCM component status
Checking the management point's health
SCOM health check report
Checking disk space of operation database and data warehouse
Querying top-event and alert-generating computers
Data grooming settings
Reporting all objects in the maintenance mode
Changing the SCSM subscription property by PowerShell
Data warehouse registration
Summary
Index

Microsoft System Center PowerShell Essentials

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: April 2015
Production reference: 1240415
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-714-2
www.packtpub.com

Credi...

Table of contents