daniel petri mvp, microsoft infrastructure manager john bryce training [email protected]...

27
Managing Windows Server 2008 Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training [email protected] www.petri.co.il November 2007

Upload: naomi-riley

Post on 22-Dec-2015

219 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Managing Windows Server 2008Daniel Petri

MVP, Microsoft Infrastructure ManagerJohn Bryce [email protected] www.petri.co.il

November 2007

Page 2: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Agenda

Improvements in Windows Server 2008 management tools

Server ManagerEvent ViewerPowerShell

DemosLinks and Resources

Page 3: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

When you configure your server you need to use many tools, for example:

Windows Server 2003 SetupPost-Setup Security UpdatesManage Your ServerConfigure Your Server WizardAdd/Remove Windows ComponentsComputer ManagementSecurity Configuration Wizard

Management - Today

Page 4: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Windows Server 2008 Management Experience

Initial Configuration TasksOpens right after the server’s installation is complete

Server ManagerAllows a daily, one-stop-shop management point for the serverUnifies the functionality of multiple earlier tools in a single, simple, MMC-based user interface

Page 5: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Initial Configuration Tasks

Postpone configuration tasks until installation is completeExposes the tasks necessary to complete setup and get the server operationalShorten the time between OS installation and deployment of the server

Page 6: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Initial Configuration Tasks

Page 7: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Unified experience for configuring Windows Server 2008

Steps the user through adding and removing server roles and features securely

Portal for ongoing managementDisplays server status, exposes key management tasks, and guides the user to advanced tools

Automation from the command-lineProvides a command-line interface for scripted installations

Server Manager

Page 8: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Server Manager

Page 9: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Services or software that allow the server to perform a specific function (18 in RC0)Describe the primary function, purpose or use of the serverA server may perform multiple rolesYou can install multiple roles in one sessionNo need to re-run Security Configuration ManagerAutomation is easy

Windows Server 2008 Roles

Page 10: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Examples of Windows Server 2008 Roles:Active Directory Certificate ServicesActive Directory Domain ServicesActive Directory Federation ServicesActive Directory Lightweight Directory ServicesApplication ServerDHCP ServerDNS ServerFax ServerFile ServicesNetwork Policy and Access ServicesPrint ServicesTerminal ServicesWeb ServerWindows Deployment ServicesWindows Server VirtualizationWindows Server Update Services 3.0 Service Pack 1 (New!)

Windows Server 2008 Roles

Page 11: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Windows Server 2008 Features

Programs that support or augment the functionality of a roleSome examples

Failover ClusteringBitLockerGPMCRPC ProxySMTP ServicesSNMP ServicesWINS (oh yes…)Desktop Experience (oh no…)

Page 12: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Provides a very powerful tool that allows for automation of installation and removal of roles and features in Windows Server 2008

ServerManagerCmd.exe –query c:\myQuery.xml

ServerManagerCmd.exe –install Web-Server –whatIf –

logPath c:\Web-Server-Log.txt

ServerManagerCmd.exe –install GPMC

ServerManagerCmd.exe –remove DHCP

ServerManagerCmd.exe –install PowerShell –resultPath c:\

PSInstall.xml –logPath –c:\PSInstallLog.txt

Servermanagercmd.exe

Page 13: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Server Manager in Action

demo

Page 14: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Event Viewer ConsoleComplete rewrite for Windows Vista & Windows Server 2008Improved organization, integration, filtering, and searching

Event LogsViewable and exportable to XMLChannels for administrative events, global view across logs

EventsNotifications and user-defined actions on eventsRicher online event information

Event ForwardingConsolidate events remotely

Event Viewer in Windows Server 2008

Page 15: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Event Viewer

Page 16: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Event Viewer

demo

Page 17: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

PowerShellRevolutionary interactive shell and scripting language

Based on .NET

New set of built-in tools (~130)

New language to take advantage of .NETAn “object-based” pipeline view

Can continue to use current tools

Can continue to use current instrumentation (COM, ADSI, WMI, ADO, XML, Text, …)

Page 18: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Frequently Asked Questions

Do I need to learn .NET before I can use PowerShell?

No - you can continue to use existing tools

Do I need to rewrite all my existing tools?

No - existing tools will run just fine Do I need to learn the new language?

No - You can easily run existing commands without modification Many Linux commands work… try them…

Page 19: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

To begin working…

Commands are built with logicVerb-noun

Some good startersGet-Help Get-Command | moreGet-Command | sort-object noun | format-table -group nounGet-Alias | moreGet-Help stop-service -detailed | more

Page 20: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Learning and Documentation

Online help is full of examplesMany books and documentation are available already

Microsoft Press – Microsoft Windows PowerShell Step By StepManning – Windows PowerShell in ActionSams – Windows PowerShell UnleashedSapien Press – Microsoft Windows PowerShellTechNet - Scripting with Windows PowerShell

Page 21: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

PowerShell Releases

Get v1.0 from the Download Center for:

Windows XP SP2 Windows Server 2003 SP2Windows VistaWindows Server 2008 RC0 (no need to d/l, available as a feature)

Downloading and Installing Windows PowerShell Version 1.0http://www.microsoft.com/technet/scriptcenter/topics/msh/download.mspx

Version 2.0 is CTPhttp://www.microsoft.com/technet/scriptcenter/topics/winpsh/pshell2.mspx

Page 22: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

PowerShell

Page 23: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

PowerShell in Action

demo

Page 24: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Evaluate Windows Server 2008http://technet.microsoft.com/en-us/windowsserver/2008/bb405966.aspx Windows Server 2008 Technical Libraryhttp://technet.microsoft.com/en-us/windowsserver/2008/default.aspxWindows Server 2008 Webcasts & Chatshttp://www.microsoft.com/events/series/windowsserver2008.aspx Windows Server 2008 Product Overviewhttp://www.microsoft.com/windowsserver2008/evaluation/overview.mspxServer Managerhttp://technet2.microsoft.com/windowsserver2008/en/servermanager/default.mspxScripting with Windows PowerShellwww.microsoft.com/technet/scriptcenter/hubs/msh.mspxWhat Can I Do With Windows PowerShell?www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/index.mspxWindows Server 2008 Virtual Labshttp://www.microsoft.com/events/series/windowsserver2008.aspx?tab=virtuallabs

Links and Resources

Page 25: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

Key Take-Aways

Windows Server 2008 management tools:

Make it easier to manage a serverAllow for faster deploymentAllow for easy automationShow you the information YOU need, WHEN you need it, and WHERE you need itPowerShell has Power!There is much more…

WinRM, RSAT, RDP, GPMC, Task Manager, Scheduled Tasks, Reliability Center, Backup…

Page 26: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

What we've covered today

Improvements in Windows Server 2008 management tools

Server ManagerEvent ViewerPowerShell

DemosLinks and Resources

Page 27: Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training dpetri@johnbryce.co.il November 2007

© 2007 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.

Daniel [email protected]