210 likes | 463 Views
BF03. Windows Management Framework (WMF). Jeffrey Snover Distinguished Engineer Microsoft Corporation. Mission. Minimize the cost to build great management products. Windows Management Framework. User Experience I have the right tools to get the job done
E N D
BF03 Windows Management Framework (WMF) Jeffrey Snover Distinguished Engineer Microsoft Corporation
Mission Minimize the cost to build great management products
Windows Management Framework User ExperienceI have the right tools to get the job done AccessI can manage anything from anywhere Automation I can manage things my way and automate my operations Access User Experience Automation How we think about Management
Management Framework Server Management UX • Rich Solutions • Task oriented • User customizable • 3rd party extensible Server Manager Migration PowerShell ISE BPA Access Remote & Multi-Machine Management • Remote Access • Scalable and flexible • Ubiquitous • Firewall friendly RSAT PS Remoting Automation Platform Automation Environment • Windows PowerShell • Intuitive command shell • Powerful scripting language • Universal execution environment PowerShell Engine Services Management Protocols • Protocols & Services • Standards-based • OS or bare hardware • Robust and network-aware BITS WSMan WMI
BITS? • Use BITS for robust, manageable file transfers. • The Windows service that uploads and downloads large files using HTTP or SMB protocols • Origin: Created for WU/MU downloads (600M+ clients) • Robust: resumes after network errors & reboots • Polite: “background” mode cedes network and CPU to other apps • Polite: basic queuing and priorities • New PowerShell cmdlets • Leveraged by WSUS, SCCM, SCVMM, Zune Catalog, Outlook
WSMan • Microsoft’s strategic Management Protocol • DMTF standard network protocol “Web Services - Management” • WSMan cmdlets allow access to any device that complies with CIM and WSMan standards • The WinRM service in Windows implements the server role of the WSMan protocol • Microsoft extensions to WSMan enable PowerShell remoting (1-1, 1-many, many-1)
WMI • Microsoft’s implementation of CIM • Mature infrastructure. Increasing body of providers • WSMAN starts a new round of infrastructure investment • W7 & WS08/R2 • CIM version 2.17.1 compatibility • DMTF Profile discovery • Interop namespace • Cross-namespace association traversal • Themes going forward • Support language standards • Easier programming models • Performance and resource consumption • Tighter integration with PowerShell
PowerShell • Microsoft’s strategic AUTOMATION ENGINE • Provides BOTH • Shell and scripting experience for end users • Management infrastructure and instrumentation for developers • Accesses everything from anywhere and glues it together • CEC • DataAdapters • Cmdlets for WebServices, nativecode, WSMAN, AD • Remoting • 1->1, 1->N, N->1 • HTTP, proxies, credentials, implicit remoting, delegated admin • Supports a great ecosystem of administrators and partners
PowerShell in Server Core • Full Command Line PowerShell • Scripts and cmdlets are limited like any other code or script • Installing PowerShell • Dism /Online /Enable-Feature /FeatureName:MicrosoftWindowsPowerShell
Over 100 New Built-In CmdletsHundreds more from partners • Remoting • Disable-PSSessionConfiguration • Enable-PSRemoting • Enable-PSSessionConfiguration • Enter-PSSession • Exit-PSSession • Export-PSSession • Get-PSSession • Get-PSSessionConfiguration • Import-PSSession • Invoke-Command • New-PSSession • New-PSSessionOption • New-WebServiceProxy • Register-PSSessionConfiguration • Remove-PSSession • Set-PSSessionConfiguration • Custom Sessions • Disable-PSSessionConfiguration • Enable-PSSessionConfiguration • Get-PSSessionConfiguration • New-PSSessionOption • Register-PSSessionConfiguration • Set-PSSessionConfiguration • Unregister-PSSessionConfiguration • Background Jobs • Get-Job • Receive-Job • Remove-Job • Start-Job • Stop-Job • Wait-Job • Modules • Export-ModuleMember • Get-Module • Import-Module • New-Module • New-ModuleManifest • Remove-Module • Test-ModuleManifest • Eventing • Get-Event • Get-EventSubscriber • New-Event • Register-EngineEvent • Register-ObjectEvent • Remove-Event • Unregister-Event • Wait-Event • WS-Man • Connect-WSMan • Disable-WSManCredSSP • Disconnect-WSMan • Enable-WSManCredSSP • Get-WSManCredSSP • Get-WSManInstance • Invoke-WSManAction • New-WSManInstance • New-WSManSessionOption • Remove-WSManInstance • Set-WSManInstance • Set-WSManQuickConfig • Test-WSMan • Transactions • Complete-Transaction • Get-Transaction • Start-Transaction • Undo-Transaction • Use-Transaction • Debugging • Disable-PSBreakpoint • Enable-PSBreakpoint • Get-PSBreakpoint • Get-PSCallStack • Remove-PSBreakpoint • Set-PSBreakpoint • Type Conversion • Add-Type • ConvertFrom-Csv • ConvertFrom-StringData • ConvertTo-Csv • ConvertTo-Xml • Diagnostics • Clear-EventLog • Export-Counter • Get-Counter • Get-Hotfix • Get-WinEvent • Import-Counter • Limit-EventLog • New-EventLog • Remove-EventLog • Show-EventLog • Write-EventLog • Computers • Add-Computer • Checkpoint-Computer • Disable-ComputerRestore • Enable-ComputerRestore • Get-ComputerRestorePoint • Remove-Computer • Reset-ComputerPassword • Restart-Computer • Restore-Computer • Stop-Computer • Test-Connection • WMI • Invoke-WMIMethod • Register-WMIEvent • Remove-WMIObject • Set-WMIInstance • Other • Clear-History • Debug-Process • Export-FormatData • Get-FormatData • Get-Random • Import-LocalizedData • Out-GridView • Select-Xml • Send-MailMessage • Set-StrictMode • Start-Process • Test-ComputerSecureChannel • Update-List • Wait-Process
16 New Partners in Windows 7 & WS08 R270+ active internal partners Exchange Server • WindowsDiagnostics • ServerManager • SQL Server • ActiveDirectory• FailoverClustering• System Center Operations Manager • WindowsBackup• ServerMigration• System Center Virtual Machine Manager • BestPracticesAnalyzer• Active DirectoryRightsManagementServices• InternetInformationServices• BackgroundIntelligentTransferService• System Center Data Protection Manager • NetworkLoadBalancing• RemoteDesktopServices • GroupPolicy•WS-Management • AppLocker • WMI
WMI “vs” PowerShell • Formal • Standards-based management • Formal schemas and protocols • Nice world when you can get it. • CIM & WMI • Informal • Glue together text, COM, WS, AD, .NET, XML, native code, etc. • Create your own abstractions and/or community scripts • Cope with the world as you find it • PowerShell
Microsoft Baseline Configuration Analyzer 2.0 • Downloadable tool that performs best practice analysis • Server: Windows Server 2003 and above • Client: Vista and above • Available in command line and UI • Enhanced WS08 R2 BPA engine • Multi-machine capability • Composition • Parameterized execution • Separation of “Discovery” and “Analysis”
Community Resources • Team blog: http://blogs.msdn.com/PowerShell • Newsgroup: Microsoft.Public.Windows.PowerShell • PowerShell Community: http://www.powershellcommunity.org • Channel 9: http://channel9.msdn.com/tags/PowerShell • Wiki: http://channel9.msdn.com/wiki/default.aspx/Channel9.WindowsPowerShellWiki • Script Center: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx • CodePlex: http://codeplex.com/Project/ProjectDirectory.aspx?TagName=powershell • Books • PowerShell in Action by Bruce Payette http://manning.com/powershell • Windows PowerShell Cookbook by Lee Holmes http://www.oreilly.com/catalog/9780596528492/index.html • Professional Windows PowerShell Programming http://www.wrox.com/WileyCDA/WroxTitle/productCd-0470173939.html • Many others…
Related Content • Breakout Sessions • BF01 Advanced Automation using Windows PowerShell 2.0 • BF02 Using Delegated Administration to Simplify your IT World • BF05 Server Deployment and Maintenance in Windows Server 2008 R2 • BF31 Configuration Manager and PowerShell – Better Together • BB37 Deploying and Managing Data Protection Manager (DPM) in Large Enterprises • BD31 Virtualization FAQ, Tips, and Tricks • Hands-On Labs • LF01 Windows PowerShell for Absolute Beginners • LF02 Introduction to Windows PowerShell Fundamentals • LF03 Advanced Windows PowerShell Scripting • LB20 Service Manager 2010 Data Warehouse and Reporting • LB21 Automating IT Processes on Service Manager 2010 • LD01 Introduction to Virtual Machine Manager 2008 R2 • Instructor-Led Labs • IF01 Windows PowerShell for Absolute Beginners • IB20 Service Manager 2010 Data Warehouse and Reporting • IB21 Automating IT Processes on Service Manager 2010
Downloads • WMF • http://support.microsoft.com/kb/968929 • MBCA V2.0 • http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=1b6e9026-f505-403e-84c3-a5dea704ec67
Call to Action • Provide your managed components as: • WMI providers • CIM schema surfaced via WSMAN • PowerShell Cmdlets • Consume BOTH WMI and PowerShell managed objects • Evaluate how WMF can help you provide/consume remote management capabilities • Use the WMF & MBCA V2.0 in your products • Let us know what you need
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.