bof08 - powershell & configmgr – examples from the real word
DESCRIPTION
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 - PowerPoint PPT PresentationTRANSCRIPT
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 • 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)
• How many are using PSH today• How many are using PSH with CM today
We want to hear from you
Agenda010100000110111101110111011001010111001001010011011010000110010101101100011011000010000001110011011101010111000001110000011011110111001001110100PowerShell support
010101000110111101110000001000000011000100110000Top 10
010011110111000001100101011011100010000001100100011010010111001101100011011101010111001101110011011010010110111101101110
Open discussion
PowerShell Support• Why PowerShell• ConfigMgr 2012 SP1
• Adds more than 471 cmdlets• ConfigMgr 2012 SP1
CU1• 40 New cmdlets
• Server side• PowerShell & WMI
• Client side• Still WMI
Top 10 – CM12SDK.NET1. Remove package from Distribution Point2. How to import a New Computer into ConfigMgr3. How to create a Collection with Incremental Updates 4. How to create a ConfigMgr Console Folder5. How to work with Collection Refresh Schedules6. How to create boundaries using Excel file7. How to work with Application approvals8. Managing Content9. Managing Content Location10.How to move console items
#10 - How to move console items• Use Case
• So cooooooool when creating the base collection hierarchy
• How• No CMDLET, WMI only
• Demo• What else do we need in this
example
#9 – Managing Content Location• Use Case
• Time saving & Control• How
• Set-CMDeploymentType & Set-CMPackage• Demo• What else do we need in this
example
#8 - Managing Content• Use Case
• Automate the package/Application process = More time for coffee• How
• New-CMDistributionPointGroup, New-CMCloudDistributionPoint • Add-CMDistributionPointToGroup, Add-CMDistributionPoint*, • Set-CMDistributionPoint, Update-CMDistributionPoint etc
• No CMDLET for adding the package to DP Group (WMI only)• Demo• What else do we need in this example
*Only Cumulative Update 1
#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
#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
#5 - How to work with Collection Refresh Schedules• Use Case
• Control and performance = happy SQL• How
• New-CMSchedule (only for new collection)• NO CMDLET for modifying the Collection Refresh schedule,
WMI only• Demo• What else do we need in this
example
#4 - How to create a ConfigMgr Console Folder• Use Case
• We neeeeeeeed them – no questions asked • How
• No CMDLET, only WMI
• Demo• What else do we need in this
example
#3 - How to create a Collection with Incremental Updates• Use Case
• Control and performance • How
• New-CMDeviceCollection, New-CMUserCollection• Demo• What else do we need in this example
#2 - How to import a New Computer into ConfigMgr• 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
# 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
Runner-up• Create new update
package when running ADR
• Role Based Administration
• Reading IIS on DP’s• Delete empty folders• Collection cleanup
Links and Questions• Connect with Kent & Kaido• Mail: [email protected] / [email protected] • 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
Evaluation
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.
We want to hear from you!
Resources
http://channel9.msdn.com/Events
Access MMS Online to view session recordings after the event.