Chapter 3. Scenario-based Scripting for SCCM Administration
Now that we have a basic understanding of how to use PowerShell cmdlets with Configuration Manager, it is time to better understand its real-time concepts. This chapter contains a few scenario-based examples that can help you to get an idea of the real power of PowerShell when used with Configuration Manager.
In this chapter, we will cover the following scenarios:
- Adding multiple distribution points to a distribution point group
- Creating multiple packages with the
.csv
/.txt
file input - Using PowerShell to access the Configuration Manager installation directory
- Checking for SCCM services
- Operating a system deployment precheck
- Running a ping test
- Getting a list of primary sites in the Configuration Manager environment
- Getting a list of all the site servers in the Configuration Manager environment
- Getting component status in Configuration Manager
Note
Installing the SCCM client agent version. The code blocks demonstrated in this chapter...