售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜