USING PowerShell with ConfigMgr

USING POWERSHELL WITH
CONFIGMGR
Greg Ramsey
Kaido Järvemets
Enterprise Tools Strategist, Dell
Guru, Coretech
www.ramseyg.com
www.cm12sdk.net
[email protected]
[email protected]
Greg
Enterprise
Ramsey
Kaido
@ramseyg
@kaidja
Mobility MVP
A
Peanut
bit
Butter
Järvemets
Enterprise
42
Jelly
Mobility MVP
AGENDA

Application Detection Rules

Operating System Deployment

Compliance Settings

Windows Components

Log Files

Inventory Extensions

Cache Management

Reliability Analysis
APPLICATIONS – SCRIPT DETECTION RULE MATRIX
Script exit code
Data read from
STDOUT
Data read from
STDERR
Script result
Application
detection state
0
Empty
Empty
Success
Not installed
0
Empty
Not empty
Failure
Unknown
0
Not empty
Empty
Success
Installed
0
Not empty
Not empty
Success
Installed
Non-zero value
Empty
Empty
Failure
Unknown
Non-zero value
Empty
Not empty
Failure
Unknown
Non-zero value
Not empty
Empty
Failure
Unknown
Non-zero value
Not empty
Not empty
Failure
Unknown
How to enable debug logging for ConfigMgr Client
Custom Profiles in Default PowerShell (uservoice)
Demo:
(yes, 50 Mins of Demo)
Kaido
@kaidja
www.cm12sdk.net
Greg
@ramseyg
www.ramseyg.com