Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Microsoft System Center Powershell Essentials

You're reading from  Microsoft System Center Powershell Essentials

Product type Book
Published in Apr 2015
Publisher Packt
ISBN-13 9781784397142
Pages 140 pages
Edition 1st Edition
Languages

Table of Contents (15) Chapters

Microsoft System Center PowerShell Essentials
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Setting up the Environment to Use PowerShell 2. Administration of Configuration Manager through PowerShell 3. Scenario-based Scripting for SCCM Administration 4. Administration of Operations Manager through PowerShell 5. Scenario-based Scripting for SCOM Administration 6. Administration of Service Manager through PowerShell 7. Scenario-based Scripting for SCSM Administration 8. Best Practices Index

Asset and compliance


This section will mainly concentrates on gathering information and how to get details of devices, users, compliance settings, alerts, and so on. It also demonstrates how to create custom collections, add special configurations to collections, create custom client settings, install client agents, approve agents, and so on.

Collection details

Getting the collection details from PowerShell is as easy as using the console to get the details. You can use the Get-CMDeviceCollection cmdlet to get the details of the available collection. We can use the basics by using Format-Table with the autosize parameter to get the neat view:

Get-CMDeviceCollection | Format-Table –AutoSize

We can also use the grid view to get the details popped out as a grid. This will give us a nice grid that we can scroll and sort easily:

Get-CMDeviceCollection | Out-GridView

We can use Name or CollectionID as the parameter to get the information of a particular collection:

Get-CMDeviceCollection –Name ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}