1 / 21

BOF08 - PowerShell & ConfigMgr – Examples from the Real Word

BOF08 - PowerShell & ConfigMgr – Examples from the Real Word. @Kaidja @Agerlund. Who are we. Kent Agerlund Chief System Management Architect Coretech, Denmark Microsoft MVP: Configuration Manager Enterprise Client Management

aliza
Download Presentation

BOF08 - PowerShell & ConfigMgr – Examples from the Real Word

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. BOF08 - PowerShell & ConfigMgr– Examples from the Real Word @Kaidja @Agerlund

  2. Who are we • Kent Agerlund • Chief System Management Architect • Coretech, Denmark • Microsoft MVP: Configuration Manager Enterprise Client Management • Microsoft Certified Trainer, MCITP Enterprise Administrator • Kaido Järvemets • Chief System Management Architect • PowerShell Über Geek and owner of http://cm12sdk.net/ • Coretech, Denmark • Microsoft MVP: Configuration Manager Enterprise Client Management • Microsoft Certified IT Professional (MCITP)

  3. We want to hear from you • How many are using PSH today • How many are using PSH with CM today

  4. Agenda 010100000110111101110111011001010111001001010011011010000110010101101100011011000010000001110011011101010111000001110000011011110111001001110100 PowerShell support 010101000110111101110000001000000011000100110000 Top 10 010011110111000001100101011011100010000001100100011010010111001101100011011101010111001101110011011010010110111101101110 Open discussion

  5. PowerShell Support • Why PowerShell • ConfigMgr 2012 SP1 • Adds more than 471cmdlets • ConfigMgr 2012 SP1 CU1 • 40 New cmdlets • Server side • PowerShell & WMI • Client side • Still WMI

  6. Top 10 – CM12SDK.NET • Remove package from Distribution Point • Howto import a New ComputerintoConfigMgr • Howtocreate a CollectionwithIncrementalUpdates • Howtocreate a ConfigMgrConsoleFolder • HowtoworkwithCollectionRefreshSchedules • Howtocreateboundariesusing Excel file • HowtoworkwithApplicationapprovals • ManagingContent • ManagingContentLocation • Howtomoveconsoleitems

  7. #10 - How to move console items • Use Case • So cooooooool when creating the base collection hierarchy • How • No CMDLET, WMIonly • Demo • What else do we need in this example

  8. #9 – ManagingContentLocation • Use Case • Time saving & Control • How • Set-CMDeploymentType & Set-CMPackage • Demo • What else do we need in this example

  9. #8 - ManagingContent • Use Case • Automate the package/Application process = More time for coffee • How • New-CMDistributionPointGroup, New-CMCloudDistributionPoint • Add-CMDistributionPointToGroup, Add-CMDistributionPoint*, • Set-CMDistributionPoint, Update-CMDistributionPointetc • No CMDLET for adding the package to DP Group (WMI only) • Demo • What else do we need in this example *Only Cumulative Update 1

  10. #7 - How to work with Application approvals • Use Case • Because a we need it • How • Approve-CMApprovalRequest, • Deny-CMApprovalRequest • Get-CMApprovalRequest • Demo • What else do we need in this example

  11. #6 - How to create boundaries using Excel file • Use Case • Time saving • How • New-CMBoundary,Remove-CMBoundary, Get-CMBoundary, Set-CMBoundary • New-CMBoundaryGroup, Remove-CMBoundary, Get-CMBoundaryGroup,Set-CMBoundaryGroup • Add-CMBoundaryToGroup, Remove-CMBoundaryFromGroup • Demo • What else do we need in this example

  12. #5 - HowtoworkwithCollectionRefreshSchedules • Use Case • Control and performance = happy SQL • How • New-CMSchedule (only for new collection) • NO CMDLET for modifying the Collection Refreshschedule, WMI only • Demo • What else do we need in this example

  13. #4 - Howtocreate a ConfigMgrConsoleFolder • Use Case • We neeeeeeeed them – no questions asked • How • No CMDLET, only WMI • Demo • What else do we need in this example

  14. #3 - Howtocreate a CollectionwithIncrementalUpdates • Use Case • Control and performance • How • New-CMDeviceCollection, New-CMUserCollection • Demo • What else do we need in this example

  15. #2 - Howto import a New ComputerintoConfigMgr • Use Case • OSD Prestage • How • Import-CMComputerInformation* • WMI • Demo • What else do we need in this example *Broken in SP1 but works in Cumulative Update 1

  16. # 1 - Remove package from Distribution Point • Why • Because removing manually is a trivial task • How • No CMDLET, WMI only • Demo • What else do we need in this example

  17. Runner-up • Create new update package when running ADR • Role Based Administration • Reading IIS on DP’s • Delete empty folders • Collection cleanup

  18. Links and Questions • Connect with Kent & Kaido • Mail: kea@coretech.dk / kaj@Coretech.dk • Twitter: @Agerlund - @Kaidja • Blog: • http://blog.coretech.dk/author/kea / • http://blog.coretech.dk/author/kaj/ • http://cm12sdk.net • All PowerShell scripts will be available at our blog

  19. Evaluation We want to hear from you! Complete your session evaluations today and enter to win prizes daily. Provide your feedback at a CommNet kiosk or log on at www.2013mms.com. Upon submission you will receive instant notification if you have won a prize. Prize pickup is at the Information Desk located in Attendee Services in the Mandalay Bay Foyer. Entry details can be found on the MMS website.

  20. Resources Access MMS Online to view session recordings after the event. http://channel9.msdn.com/Events

More Related