David O’Brien
CONSULTANT/ MVP
David.OBrien@gmx.de
Twitter: @David_OBrien
WWW.David-OBrien.NET

ConfigMgr & Powershell
Tips...
Agenda
• Overview of Powershell in ConfigMgr 2012 R2
• What‘s it all about?

• Handy cmdlets you should know
• ConfigMgr e...
Who is David O‘Brien?
•
•
•
•
•

28 years old, married, live in Cologne / Germany
Work as IT Consultant at sepago GmbH
Blo...
Powershell in ConfigMgr 2012 R2
• Import-Module (Join-Path $(Split-Path $env:SMS_ADMIN_UI_PATH) ConfigurationManager.psd1)...
X86 Powershell cmdlets
Add-CMDistributionPoint

Export-AntiMalwarePolicy

Get-CMAntiMalwarePolicy

Get-CMClientSettings

N...
Handy cmdlets you should know
• Crap, the console died again...
• Quick, is that Device a member of that Collection?
• Whe...
ConfigMgr Console Extensions from the
Community
• What are Console extensions?
• Extend the abilities of the already insta...
ConfigMgr documentation script
• Thank you Carl!

• Go download his scripts if you do Citrix!!!
• If you don‘t do Citrix.....
Danke
Herzlichen Dank
David O‘Brien, @David_OBrien
www.david-obrien.net

Bewertung der Session: Configmgr.ch
•
•
•
•

Xing...
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/2...
8
9
Upcoming SlideShare
Loading in …5
×

PowerShell Tipps & Tricks im Configuration Manager

1,272 views
923 views

Published on

David O'Brien, Senior Consultant bei sepago GmbH, zeigte in seiner Präsentation folgende Punkte auf:

Overview of Powershell in ConfigMgr 2012 (R2)
Handy cmdlets you should know
ConfigMgr Console extensions from the community
Right-Click Tools by Ryan Ephgrave
Stage your Task Sequences by me
Dell Warranty Checker by Nickolaj Andersen
ConfigMgr inventory / documentation script

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,272
On SlideShare
0
From Embeds
0
Number of Embeds
25
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

PowerShell Tipps & Tricks im Configuration Manager

  1. 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. 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. 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. 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
  5. 5. 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
  6. 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. 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. 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. 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. 10. 1
  11. 11. 2
  12. 12. 3
  13. 13. 4
  14. 14. 5
  15. 15. 6
  16. 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. 17. 8
  18. 18. 9

×