210 likes | 684 Views
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
E N D
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)
We want to hear from you • How many are using PSH today • How many are using PSH with CM today
Agenda 010100000110111101110111011001010111001001010011011010000110010101101100011011000010000001110011011101010111000001110000011011110111001001110100 PowerShell support 010101000110111101110000001000000011000100110000 Top 10 010011110111000001100101011011100010000001100100011010010111001101100011011101010111001101110011011010010110111101101110 Open discussion
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
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
#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
#9 – ManagingContentLocation • Use Case • Time saving & Control • How • Set-CMDeploymentType & Set-CMPackage • Demo • What else do we need in this example
#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
#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 - 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
#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
#3 - Howtocreate a CollectionwithIncrementalUpdates • Use Case • Control and performance • How • New-CMDeviceCollection, New-CMUserCollection • Demo • What else do we need in this example
#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
# 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: 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
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.
Resources Access MMS Online to view session recordings after the event. http://channel9.msdn.com/Events