Windows Management Technologies in Vista and beyond Martin Dey Director, Outbound Marketing Windows and Enterprise Management Division Microsoft Corporation, Redmond.

Download Report

Transcript Windows Management Technologies in Vista and beyond Martin Dey Director, Outbound Marketing Windows and Enterprise Management Division Microsoft Corporation, Redmond.

Windows Management
Technologies in Vista and
beyond
Martin Dey
Director, Outbound Marketing
Windows and Enterprise Management Division
Microsoft Corporation, Redmond
Agenda
Group Policy Improvements
WMI Enhancements
WinRM – Windows Remote Management
WS-Man Remote Protocol
WinRS – Windows Remote Shell
New Vista Windows Event Log support
Windows Vista Task Scheduler
New Performance Counter Model
WSUS 3.0 Changes
Windows PowerShell
Improvements In Group Policy
For Windows Vista
Extends the reach of Group Policy with
hundreds more settings
Reliably and efficiently apply policy
Easier to use
Extending The Reach Of
Group Policy
Over 500 new settings across key areas
Power
Management
Device
Installation and
Usage
Troubleshooting
& Diagnostics
User Account
Control
Remote
Assistance
Terminal
Services
Internet
Explorer
IPSEC &
Windows
Firewall
iSCSI
Windows
Defender
Globalization
Shell
Printer
Deployment
Windows Error
Reporting
Tablet
Improvements In Group Policy
Applied more reliably, and easier to use
Reliable and Efficient
Application of Policy
Network aware application
of Group Policy
Support for editing Group Policy
settings in Multilingual
Environments
Support for Multiple Local GPOs
Easier to Use
GPMC integrated into Windows
Search and filter (Post Vista)
Templates (Post Vista)
Windows Management Infrastructure (WMI)
Enhancements Improve Manageability
Windows Vista includes 13
new WMI Providers:
BitLocker Drive Encryption
Trusted Platform Module
Boot Configuration Database
Intelligent Platform
Management Interface
Windows Parental Controls
Network Access Protocol
Client
Others…
70
70
57
60
50
40
30
21
20
15
10
0
NT 4.0
2000
XP
Vista
WinRM - Windows
Remote Management
Firewall Friendly Remote Access Protocol
(Replaces DCOM)
HTTP and HTTPS
Microsoft’s implementation of
WS-Management
Use WinRM to Access WMI Information
over the Internet
In-Band And Out Of Band
Management console
Cmdline
tool
OS
Client
App
WSMan client
WSMan
Service
WSMAN
WSMAN
WMI
EventLog
IPMI
driver
Hardware
BMC
Remote Shell
Access to Remote shell (cmd.exe)
Batch mode execution of scripts
and commands
Access to output streams from remote shell
Input data for prompts
Example usage: Add/Remove server roles,
collect inventory, configure Firewall etc
PowerShell will use WinRS for remoting
New Vista Event Logging
Windows Eventing 6.0
Right Data to Diagnose Problems
The right data…but not too much data
Improved supporting data and documentation for
all events
Infrastructure Supports Ad-hoc Diagnosis and
Management Tools
Schematized events (XML) provide richer information
Easy integration with management tools
New Vista Event Viewer
User Experience Dramatically Improved
Single place to view events for all Windows
Vista components
Focus on important events with filtering and
custom views
Events are actionable
Associate a task with an event with a single click
Event Subscriptions
IT Professionals can subscribe to events and view
them centrally
GP Configurable; based on WinRM
Event Viewer Drill Down
What’s New in Task Scheduler?
Power and Flexibility
Sophisticated Scheduling Options with new triggers,
conditional launch, and action chaining
Completely scriptable
Visibility
Task dashboard shows active and upcoming tasks
Improved Reliability and Resource Allocation
Retry tasks in case of failure
Run when next available
Task Scheduler: Today And Vista
Rich Schedule Trigger
Backward Compatibility
Trigger on Event
Network Conditions
Multiple Synch’d Steps
Failure Notification
Password Update Resiliance
Execution History
Task Import/Export
Jitter!
Today
Vista












Task Structure
Triggers
What launches the task?
Multiple triggers allowed
OR-ed
Conditions
Defines constraints
Multiple conditions allowed
AND-ed
Actions
Many Actions per Task now
Serialized
Triggers
Schedule
TimeTrigger / CalendarTrigger (Periodic)
At specified global (UTC) time
Jittered (Delayed) start
~ OR ~
Generic Event
EventLog event trigger
Registration based on EventLog
query
~ OR ~
System Events
IdleTrigger, BootTrigger, LogonTrigger
RegistrationTrigger
SessionStateChangeTrigger
Conditions
Power State
DisallowStartIfOnBatteries
StopIfGoingOnBatteries
~ AND ~
Idle State
Run Only If Idle
Stop at Idle End
Restart at Idle Resume
~ AND ~
Network
Availability
Launch if network is available
Any or specific network profile
Task Actions
Command
Line / DLL
Any command shell program
Exe, Script, Batch
DLLs hosted in user apps
E-Mail
Includes attachments
Over SMTP
Message Box
Body and title
For interactive tasks
Task Scheduler Demo
Task Management Interfaces
XML File
%windir%\system32\tasks
Programmatic
New COM / Scripting API
Admin Tools
End User
MMC Admin Tool
SchTasks.exe
Create Task Wizard
Windows Perf Counters
Before Windows Vista
Win32 Counter Providers
Requires performance counter DLLs
Uses registry and system files as
central repository
Uses no unified IPC mechanism
Managed Counter Providers
Provides a simple managed API for a
Win32 technology
Uses a component oriented design
Integrated with Visual Studio Designers
Windows Perf Counters
What’s new in Windows Vista
Improved Manageability
Simplified programming model
No more 32-bit/64-bit issue
Development tools
Improved Reliability
No more registry corruption
No need for performance counter DLLs
Improved Scalability
Retrieval of only requested data
WSUS 3.0 Improvements
Simpler Deployment
Improved Performance
Improved Reliability
Reporting Support
Targeting Enhancements
Improved Admin Experience
Simpler Deployment
WSUS 3.0 is an in-place upgrade of 2.0
3.0 has all the features of 2.0 and then some!
WSUS 2.0 Servers can sync from a
3.0 Server
Allows for a gradual top down roll out
New OOBE (Out of the box experience) wizard to help
guide initial setup
Many improvements to replica mode to support branch
office deployments
Move between Replica and Autonomous modes without a
reinstall
Support for language subsetting on downstream replica servers
Replica’s can sync meta-data from a USS and content from MU
Support for disconnected
replica synchronization
Improved Performance
Reporting performance
50% performance gain
Server Synchronization
Full sync down from 1 ½ hours to 20 minutes
New UI makes it easier to see
what’s relevant
New deployment options make it easier to
build large scale deployments
Server now has native support for x64
Targeting Enhancements
WSUS 3.0 supports 2 new
grouping concepts
Nested target groups
Overlapping group membership
A computer can be a member of > 1 group
Eg: Computer 1 is a member of Servers as well
as Exchange Servers
Windows PowerShell
Next generation shell that is:
As interactive and composable as BASH/KSH
As programmatic as Perl/Ruby
As production oriented as AS400 CL/VMS DCL
Allows access to data stores as easy to access
as filesystems
PowerShell Highlights
Shell
Rich set of Namespaces (data dources)
Man-style help with rich schema
and searching
Command-line-oriented following strong
naming guidelines
E.g., Verb-Noun
Interactive experience (aliases,
navigation, tab-completion, command
line editing)
Pipelines
Object utilities
Shell
Uniformity
Get-Process | Where { $_.handles –gt 500 } | Sort handlecount | Format-Table
Common PowerShell Parser
Format
Class
Sort
Class
Where Class
Get-Process
Class
PowerShell Pipeline Processor
Commands
Shell
Verb-Noun
Verb-Noun –FirstP Val –SecondP V2,V3 –ThirdP:V4
You can alias
Set-Alias gps Get-Process
Parameters can be positional
gps –ProcessName LSASS
gps LSASS
Many parameters can be wildcarded
gps c*
Partial parameter names allowed
Gps –p lsass
Trusting Operations
Commands with side-effects support:
Whatif
Gps |where {$_.handles –ge 500} |
stop-process –WhatIf
Confirm
Stop-process S* -Confirm
Verbose
Stop-Process [a-x]*[q]*[r-t] -Verbose
Shell
Shell
Finding Data
Data stores surfaced as “Drives”
Filesystem, Registry, Alias, Certs, Env, Functions, Variables, etc
> Get-PSdrive
> dir HKLM:\SOFTWARE\Microsoft
Drive is a namespace with numerous
information axis
Item, ChildItem, Content, ItemProperty, ACL, etc.
New navigation/interaction model supported with aliases
for existing commands
Get-ChildItem
Get-Cwd
Get-Content
New-Item –type Directory
Set-Location
dir
cd
type
mkdir
cd
ls
pwd
cat
mkdir
cd
Explicit Object Formatting
Shell
Built-in formatters for lists, tables, wide,
and custom-views
> Get-Command Format-*
Formatters allow you to specify properties,
propertysets and property expressions
> gps |format-table name,id,handlecount
> gps |format-table Configuration -auto
> gps |format-table name,@{
Expression= {$_.mainmodule.filename};
Label="File"}
> gps |format-list name,*size64
Scripting
Scripting
Supports existing scripting models
*NIX model of text processing including regular expressions
Visual Basic Script model of COM automation
Supports scripting .NET objects
Support loose, strong, and extensible typing models
Uniform syntax to access to a wide range of types
WMI, XML, COM, ADSI, ADO
Rich variable semantics (typed, read-only, constraints,
descriptions)
Rich operators and control structures (C#-like with access
to cmds & utilities)
Functions (positional, named, typed,
constrained params)
PowerShell Scripting
For more Information
Related Sessions on the MMS 2006 DVD
SW02
Windows Vista Client: Overview of Manageability Infrastructure enhancements
SW03
Group Policy - What's New in Vista and Longhorn Server
SW04
Solving Management Problems with Windows Power Shell
SW05
Maximizing the Value of Windows Management Technologies - Today and
Tomorrow
SW06
Windows Power Shell - Next Generation Command Line Scripting
SW08
WS-Management: Heterogeneous Application Systems Management and
problem solving by example
SW09
Overview of WSUS 3.0
SW11
Windows Vista: New Performance Counter Infrastructure and Data Collection
SW12
Windows Management Instrumentation: Roadmap and Best Practices for WMI
Troubleshooting and Scripting
SW14
New Remote Management Capabilities in Vista
SW15
Improved Diagnosis and Troubleshooting with Vista Event Viewer
SW16
Vista Client Management with the New Task Scheduler
© 2006 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.