SlideShare a Scribd company logo
David O’Brien
CONSULTANT/ MVP
David.OBrien@gmx.de
Twitter: @David_OBrien
WWW.David-OBrien.NET

ConfigMgr & Powershell
Tips & Tricks & Tools

Configuration Manager
Agenda
• Overview of Powershell in ConfigMgr 2012 R2
• What‘s it all about?

• Handy cmdlets you should know
• ConfigMgr extensions from the community
• Right-Click Tools by Ryan Ephgrave
• Dell Warranty Checker
• OSD Front End by Nickolaj Andersen

• ConfigMgr inventory / documentation script
Who is David O‘Brien?
•
•
•
•
•

28 years old, married, live in Cologne / Germany
Work as IT Consultant at sepago GmbH
Blog: www.david-obrien.net
Twitter: @david_obrien
My areas of interest
• Microsoft System Center
• ConfigMgr – SCOrch

• Powershell

• Microsoft MVP for Enterprise Client Management (2013)

• https://mvp.microsoft.com/en-us/mvp/David%20O%27Brien-5000267

• CCIA
Powershell in ConfigMgr 2012 R2
• Import-Module (Join-Path $(Split-Path $env:SMS_ADMIN_UI_PATH) ConfigurationManager.psd1)
• All cmdlets need to be executed from PSDrive
• 560 commands

• All commands in GUI can be done via Powershell

• For scripting help -> SMSProv.Log
• WMIExplorer -> https://wmie.codeplex.com/Wikipage?ProjectName=wmie

• X64

• Except a few
• Found on: http://technet.microsoft.com/library/dn236347.aspx

• WMI still the way to go in many situations

• I‘m still confused which way is generally best
X86 Powershell cmdlets
Add-CMDistributionPoint

Export-AntiMalwarePolicy

Get-CMAntiMalwarePolicy

Get-CMClientSettings

New-CMSecondarySite

New-CMTaskSequenceMedia

New-CMVhd

Publish-CMPrestageContent

Publish-CMPrestageContentTaskSequence

Set-CMAntiMalwarePolicy

Set-CMClientSettings

Set-CMDistributionPoint

Set-CMVhd

Start-CMDistributionPointUpgrade
Handy cmdlets you should know
• Crap, the console died again...
• Quick, is that Device a member of that Collection?
• Where did you deploy that Task Sequence to?
ConfigMgr Console Extensions from the
Community
• What are Console extensions?
• Extend the abilities of the already installed default console
• Create completely new features

• Why are they useful?
• Community members created them out of real life requirements!

• How do you build them?
• Basically just XML files put into the right place executing a script or
application

DEMO
ConfigMgr documentation script
• Thank you Carl!

• Go download his scripts if you do Citrix!!!
• If you don‘t do Citrix... Go download them anyway
and learn some nice Powershell!
• www.carlwebster.com

• Rewrote Carl‘s scripts to document Configuration Manager 2012
• Documenting already about 80% off all settings in a CM12 environment
• Skipping more marketing blah-blah...

DEMO
Danke
Herzlichen Dank
David O‘Brien, @David_OBrien
www.david-obrien.net

Bewertung der Session: Configmgr.ch
•
•
•
•

Xing:
Facebook:
Linkedin:
Twitter:

https://www.xing.com/net/cmce
https://www.facebook.com/groups/411231535670608/
http://www.linkedin.com
https://twitter.com/configmgr_ch

Nächster Event: Freitag 13. Juni Digicomp Bern
(begrenzte Anzahl Teilnehmer)
1
2
3
4
5
6
http://msdn.microsoft.com/en-us/library/hh948631.aspx (MSDN Console Extensions)
http://blogs.technet.com/b/neilp/archive/2012/03/18/long-live-right-click-toolssystem-center-2012-configuration-manager-console-extensions.aspx (Technet Blog)
http://itx-solutions.nl/2012/12/sccm2012ce/ (Computer Naming Extension)
https://psrightclicktools.codeplex.com/ (Powershell Right Click Tools)
http://www.petervanderwoude.nl/post/right-click-option-showing-the-collectionmembership-of-a-resource-in-configmgr-2012-via-powershell/ (Show Coll
Membership)
http://www.scconfigmgr.com/2013/10/11/get-dell-warranty-status-within-configmgr2012-console/ (Get Dell Warranty Status)

7
8
9

More Related Content

PDF
DevOps for Dynamics 365/CRM - Summit EMEA 2017 Amsterdam
PPTX
Spsnyc vincent biret spfx devops
PPTX
Operations Validation for Infrastructure As Code - PSConfEU 2016
PPTX
CRM Saturday: DevOps with Jonas Rapp
PDF
Automate it with Azure Functions
PDF
Create awesome Azure Functions with PowerShell
PDF
Tfs 2015 Upgrade Tips and Tricks
PPTX
Five ways to improve Quality and Productivity of your Development
DevOps for Dynamics 365/CRM - Summit EMEA 2017 Amsterdam
Spsnyc vincent biret spfx devops
Operations Validation for Infrastructure As Code - PSConfEU 2016
CRM Saturday: DevOps with Jonas Rapp
Automate it with Azure Functions
Create awesome Azure Functions with PowerShell
Tfs 2015 Upgrade Tips and Tricks
Five ways to improve Quality and Productivity of your Development

What's hot (19)

PPTX
Ordina SOFTC Presentation - Deployment with TFS Build and Workflow
PDF
Release Management in TFS 2015
PDF
Discover Microsoft's Cloud Automation Suite
PDF
Paint it blue with PowerShell
PPTX
Building your own JEA Configuration
PPTX
#SPSBurgh 2018 How to do #devops with the #SharePoint Framework #spfx
PPTX
Developing Infrastructure Code for CI & CD
PDF
Automate everything with PowerShell
PPTX
Sps monaco vincent biret spfx devops
PPTX
PowerShell Uncensored
PPTX
Continous Integration for iOS Projects
PDF
Automating everything with Microsoft Flow
PDF
Apply chat automation today - work smarter tomorrow
PPTX
[Curitiba DEV DAY] - Novidades do TFS 2015
PDF
Using Microsoft Flow for IT Professionals
PPTX
Cherry Picking XrmToolBox
PPTX
A brave new world – mac os x, power shell and linux
PDF
Automate Anything with Microsoft Flow
PDF
Apply chat automation today - work smarter tomorrow
Ordina SOFTC Presentation - Deployment with TFS Build and Workflow
Release Management in TFS 2015
Discover Microsoft's Cloud Automation Suite
Paint it blue with PowerShell
Building your own JEA Configuration
#SPSBurgh 2018 How to do #devops with the #SharePoint Framework #spfx
Developing Infrastructure Code for CI & CD
Automate everything with PowerShell
Sps monaco vincent biret spfx devops
PowerShell Uncensored
Continous Integration for iOS Projects
Automating everything with Microsoft Flow
Apply chat automation today - work smarter tomorrow
[Curitiba DEV DAY] - Novidades do TFS 2015
Using Microsoft Flow for IT Professionals
Cherry Picking XrmToolBox
A brave new world – mac os x, power shell and linux
Automate Anything with Microsoft Flow
Apply chat automation today - work smarter tomorrow
Ad

Similar to PowerShell Tipps & Tricks im Configuration Manager (20)

PDF
Automating OSD and Post-OSD Configuration with Powershell and Orchestrator
PPTX
Kent Agerlund - Via monstra part 4 become the hero of the day, master configm...
PPTX
ECMDAY2015 - Kaido Jarvemets - Managing Configuration Manager with PowerShell
PPTX
Luc Dekens - Italian vmug usercon
PPT
PowerShell v4 Desired State Configuration
PPTX
Windows Remote Management - EN
PPTX
PowerCLI Workshop
PPSX
Sunil phani's take on windows powershell
PDF
The enterprise manager command line interface2
PDF
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
PPTX
Inventory your network and clients with PowerShell
PDF
Scc mi
PPTX
Powering up on power shell avengercon - 2018
PPTX
Windows Server 2012 Deploying and managing
PPTX
20410B_01
PPTX
Configuration management comes to Windows
PPTX
VMworld 2015: Automating Everything VMware with PowerCLI- Deep Dive
TXT
An a z index of windows power shell commandss
PPTX
Windows PowerShell.pptx
PDF
Unleashing the Power: A Lap Around PowerShell 3.0
Automating OSD and Post-OSD Configuration with Powershell and Orchestrator
Kent Agerlund - Via monstra part 4 become the hero of the day, master configm...
ECMDAY2015 - Kaido Jarvemets - Managing Configuration Manager with PowerShell
Luc Dekens - Italian vmug usercon
PowerShell v4 Desired State Configuration
Windows Remote Management - EN
PowerCLI Workshop
Sunil phani's take on windows powershell
The enterprise manager command line interface2
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
Inventory your network and clients with PowerShell
Scc mi
Powering up on power shell avengercon - 2018
Windows Server 2012 Deploying and managing
20410B_01
Configuration management comes to Windows
VMworld 2015: Automating Everything VMware with PowerCLI- Deep Dive
An a z index of windows power shell commandss
Windows PowerShell.pptx
Unleashing the Power: A Lap Around PowerShell 3.0
Ad

More from Digicomp Academy AG (20)

PDF
Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019
PDF
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...
PPTX
Innovation durch kollaboration gennex 2018
PDF
Roger basler meetup_digitale-geschaeftsmodelle-entwickeln_handout
PDF
Roger basler meetup_21082018_work-smarter-not-harder_handout
PDF
Xing expertendialog zu nudge unit x
PDF
Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?
PDF
IPv6 Security Talk mit Joe Klein
PDF
Agiles Management - Wie geht das?
PPTX
Gewinnen Sie Menschen und Ziele - Referat von Andi Odermatt
PDF
Querdenken mit Kreativitätsmethoden – XING Expertendialog
PDF
Xing LearningZ: Digitale Geschäftsmodelle entwickeln
PDF
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
PDF
UX – Schlüssel zum Erfolg im Digital Business
PDF
Minenfeld IPv6
PDF
Was ist design thinking
PDF
Die IPv6 Journey der ETH Zürich
PDF
Zahlen Battle: klassische werbung vs.online-werbung-somexcloud
PDF
General data protection regulation-slides
PDF
Möglichkeiten der Online-Werbung - Referat von Matteo Schürch
Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...
Innovation durch kollaboration gennex 2018
Roger basler meetup_digitale-geschaeftsmodelle-entwickeln_handout
Roger basler meetup_21082018_work-smarter-not-harder_handout
Xing expertendialog zu nudge unit x
Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?
IPv6 Security Talk mit Joe Klein
Agiles Management - Wie geht das?
Gewinnen Sie Menschen und Ziele - Referat von Andi Odermatt
Querdenken mit Kreativitätsmethoden – XING Expertendialog
Xing LearningZ: Digitale Geschäftsmodelle entwickeln
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
UX – Schlüssel zum Erfolg im Digital Business
Minenfeld IPv6
Was ist design thinking
Die IPv6 Journey der ETH Zürich
Zahlen Battle: klassische werbung vs.online-werbung-somexcloud
General data protection regulation-slides
Möglichkeiten der Online-Werbung - Referat von Matteo Schürch

Recently uploaded (20)

PPT
340036916-American-Literature-Literary-Period-Overview.ppt
PDF
Laughter Yoga Basic Learning Workshop Manual
PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
PPTX
Belch_12e_PPT_Ch18_Accessible_university.pptx
DOCX
unit 1 COST ACCOUNTING AND COST SHEET
PPTX
Lecture (1)-Introduction.pptx business communication
PDF
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
PDF
COST SHEET- Tender and Quotation unit 2.pdf
PPTX
svnfcksanfskjcsnvvjknsnvsdscnsncxasxa saccacxsax
PPTX
5 Stages of group development guide.pptx
PPTX
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
PDF
Types of control:Qualitative vs Quantitative
PPTX
Probability Distribution, binomial distribution, poisson distribution
PPT
Chapter four Project-Preparation material
PDF
Power and position in leadershipDOC-20250808-WA0011..pdf
PPTX
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
PDF
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
PDF
Ôn tập tiếng anh trong kinh doanh nâng cao
PDF
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
PDF
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
340036916-American-Literature-Literary-Period-Overview.ppt
Laughter Yoga Basic Learning Workshop Manual
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
Belch_12e_PPT_Ch18_Accessible_university.pptx
unit 1 COST ACCOUNTING AND COST SHEET
Lecture (1)-Introduction.pptx business communication
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
COST SHEET- Tender and Quotation unit 2.pdf
svnfcksanfskjcsnvvjknsnvsdscnsncxasxa saccacxsax
5 Stages of group development guide.pptx
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
Types of control:Qualitative vs Quantitative
Probability Distribution, binomial distribution, poisson distribution
Chapter four Project-Preparation material
Power and position in leadershipDOC-20250808-WA0011..pdf
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
Ôn tập tiếng anh trong kinh doanh nâng cao
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice

PowerShell Tipps & Tricks im Configuration Manager

  • 1. David O’Brien CONSULTANT/ MVP David.OBrien@gmx.de Twitter: @David_OBrien WWW.David-OBrien.NET ConfigMgr & Powershell Tips & Tricks & Tools Configuration Manager
  • 2. Agenda • Overview of Powershell in ConfigMgr 2012 R2 • What‘s it all about? • Handy cmdlets you should know • ConfigMgr extensions from the community • Right-Click Tools by Ryan Ephgrave • Dell Warranty Checker • OSD Front End by Nickolaj Andersen • ConfigMgr inventory / documentation script
  • 3. Who is David O‘Brien? • • • • • 28 years old, married, live in Cologne / Germany Work as IT Consultant at sepago GmbH Blog: www.david-obrien.net Twitter: @david_obrien My areas of interest • Microsoft System Center • ConfigMgr – SCOrch • Powershell • Microsoft MVP for Enterprise Client Management (2013) • https://mvp.microsoft.com/en-us/mvp/David%20O%27Brien-5000267 • CCIA
  • 4. Powershell in ConfigMgr 2012 R2 • Import-Module (Join-Path $(Split-Path $env:SMS_ADMIN_UI_PATH) ConfigurationManager.psd1) • All cmdlets need to be executed from PSDrive • 560 commands • All commands in GUI can be done via Powershell • For scripting help -> SMSProv.Log • WMIExplorer -> https://wmie.codeplex.com/Wikipage?ProjectName=wmie • X64 • Except a few • Found on: http://technet.microsoft.com/library/dn236347.aspx • WMI still the way to go in many situations • I‘m still confused which way is generally best
  • 6. Handy cmdlets you should know • Crap, the console died again... • Quick, is that Device a member of that Collection? • Where did you deploy that Task Sequence to?
  • 7. ConfigMgr Console Extensions from the Community • What are Console extensions? • Extend the abilities of the already installed default console • Create completely new features • Why are they useful? • Community members created them out of real life requirements! • How do you build them? • Basically just XML files put into the right place executing a script or application DEMO
  • 8. ConfigMgr documentation script • Thank you Carl! • Go download his scripts if you do Citrix!!! • If you don‘t do Citrix... Go download them anyway and learn some nice Powershell! • www.carlwebster.com • Rewrote Carl‘s scripts to document Configuration Manager 2012 • Documenting already about 80% off all settings in a CM12 environment • Skipping more marketing blah-blah... DEMO
  • 9. Danke Herzlichen Dank David O‘Brien, @David_OBrien www.david-obrien.net Bewertung der Session: Configmgr.ch • • • • Xing: Facebook: Linkedin: Twitter: https://www.xing.com/net/cmce https://www.facebook.com/groups/411231535670608/ http://www.linkedin.com https://twitter.com/configmgr_ch Nächster Event: Freitag 13. Juni Digicomp Bern (begrenzte Anzahl Teilnehmer)
  • 10. 1
  • 11. 2
  • 12. 3
  • 13. 4
  • 14. 5
  • 15. 6
  • 16. http://msdn.microsoft.com/en-us/library/hh948631.aspx (MSDN Console Extensions) http://blogs.technet.com/b/neilp/archive/2012/03/18/long-live-right-click-toolssystem-center-2012-configuration-manager-console-extensions.aspx (Technet Blog) http://itx-solutions.nl/2012/12/sccm2012ce/ (Computer Naming Extension) https://psrightclicktools.codeplex.com/ (Powershell Right Click Tools) http://www.petervanderwoude.nl/post/right-click-option-showing-the-collectionmembership-of-a-resource-in-configmgr-2012-via-powershell/ (Show Coll Membership) http://www.scconfigmgr.com/2013/10/11/get-dell-warranty-status-within-configmgr2012-console/ (Get Dell Warranty Status) 7
  • 17. 8
  • 18. 9