Managing Windows Server 2008

makeshiftklipInternet and Web Development

Oct 31, 2013 (4 years and 7 days ago)

101 views

Daniel Petri

MVP, Microsoft Infrastructure Manager

John Bryce Training


dpetri@johnbryce.co.il

www.petri.co.il

November 2007

Improvements in Windows Server 2008
management tools

Server Manager

Event Viewer

PowerShell

Demos

Links and Resources


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

Windows Server 2003 Setup

Post
-
Setup Security Updates

Manage Your Server

Configure Your Server Wizard

Add/Remove Windows Components

Computer Management

Security Configuration Wizard



Initial Configuration Tasks

Opens right after the server’s installation is
complete

Server Manager

Allows a daily, one
-
stop
-
shop management
point for the server

Unifies the functionality of multiple earlier
tools in a single, simple, MMC
-
based user
interface


Postpone configuration tasks until
installation is complete

Exposes the tasks necessary to
complete setup and get the server
operational

Shorten the time between OS
installation and deployment of the
server


Unified experience for configuring Windows
Server 2008

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

Portal for ongoing management

Displays server status, exposes key
management tasks, and guides the user to
advanced tools

Automation from the command
-
line

Provides a command
-
line interface for
scripted installations



Services or software that allow the server
to perform a specific function (18 in RC0)

Describe the primary function, purpose or
use of the server

A server may perform multiple roles

You can install multiple roles in one session

No need to re
-
run Security Configuration
Manager

Automation is easy


Examples of Windows Server 2008 Roles:

Active Directory Certificate Services

Active Directory Domain Services

Active Directory Federation Services

Active Directory Lightweight Directory Services

Application Server

DHCP Server

DNS Server

Fax Server

File Services

Network Policy and Access Services

Print Services

Terminal Services

Web Server

Windows Deployment Services

Windows Server Virtualization

Windows Server Update Services 3.0 Service Pack 1
(New!)



Programs that support or augment the
functionality of a role

Some examples

Failover Clustering

BitLocker

GPMC

RPC Proxy

SMTP Services

SNMP Services

WINS (oh yes…)

Desktop Experience (oh no…)

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



Event Viewer Console

Complete rewrite for Windows Vista & Windows Server 2008

Improved organization, integration, filtering, and searching

Event Logs

Viewable and exportable to XML

Channels for administrative events, global view across logs

Events

Notifications and user
-
defined actions on events

Richer online event information

Event Forwarding

Consolidate events remotely




Revolutionary interactive shell and
scripting language

Based on .NET

New set of built
-
in tools (~130)

New language to take advantage of .NET

An “object
-
based” pipeline view

Can continue to use current tools

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


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…


Commands are built with logic

Verb
-
noun


Some good starters

Get
-
Help

Get
-
Command | more

Get
-
Command | sort
-
object noun | format
-
table
-
group noun

Get
-
Alias | more

Get
-
Help stop
-
service
-
detailed | more


Online help is full of examples

Many books and documentation are
available already

Microsoft Press


Microsoft Windows
PowerShell Step By Step

Manning


Windows PowerShell in Action

Sams


Windows PowerShell Unleashed

Sapien Press


Microsoft Windows PowerShell

TechNet
-

Scripting with Windows PowerShell



Get v1.0 from the Download Center for:

Windows XP SP2

Windows Server 2003 SP2

Windows Vista

Windows Server 2008 RC0 (no need to
d/l
,
available as a feature)

Downloading and Installing Windows PowerShell Version 1.0

http://www.microsoft.com/technet/scriptcenter/topics/msh/download.mspx



Version 2.0 is CTP

http://www.microsoft.com/technet/scriptcenter/topics/winpsh/pshell2.mspx


Evaluate Windows Server 2008

http://technet.microsoft.com/en
-
us/windowsserver/2008/bb405966.aspx


Windows Server 2008 Technical Library

http://technet.microsoft.com/en
-
us/windowsserver/2008/default.aspx

Windows Server 2008 Webcasts & Chats

http://www.microsoft.com/events/series/windowsserver2008.aspx


Windows Server 2008 Product Overview

http://www.microsoft.com/windowsserver2008/evaluation/overview.mspx

Server Manager

http://technet2.microsoft.com/windowsserver2008/en/servermanager/default.mspx

Scripting with Windows PowerShell

www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

What Can I Do With Windows PowerShell?

www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/index.mspx

Windows Server 2008 Virtual Labs

http://www.microsoft.com/events/series/windowsserver2008.aspx?tab=virtuallabs



Windows Server 2008 management tools:

Make it easier to manage a server

Allow for faster deployment

Allow for easy automation

Show you the information YOU need, WHEN
you need it, and WHERE you need it

PowerShell has Power!

There is much more…

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



Improvements in Windows Server 2008
management tools

Server Manager

Event Viewer

PowerShell

Demos

Links and Resources


©
2007 Micr osoft
Cor por ation. All r ights r eserved. Micr osoft, Windows, Windows Vista and other pr oduct names ar e or may be r egistered tr ademar
ks
and/or trademarks in the U.S. and/or other countr ies.

The infor mation her ein is for infor mational pur poses only and r epr esents the cur r ent view of Micr osoft Cor por ation as of the
dat
e of this pr esentation. Because Micr osoft must r espond to changing mar ket
conditions, it should not be inter pr eted to be a commitment on the par t of Micr osoft, and Micr osoft cannot guar antee the accu
r ac
y of any infor mation pr ovided after the date of this pr esentation.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Daniel Petri


dpetri@johnbryce.co.il