![Page 1: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/1.jpg)
Welcome
SRV-300
![Page 2: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/2.jpg)
Managing Web Infrastructure Systems with Windows PowerShell™ 2.0Level 300
![Page 3: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/3.jpg)
What Will We cover?
Managing Windows Server 2008® by Using Windows PowerShellManaging Windows Server 2008 Web Server by Using Windows PowerShellUsing Windows PowerShell to Administer Microsoft ® SQL Server® 2008 Systems
![Page 4: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/4.jpg)
Agenda
Reviewing Management Solutions Using Windows PowerShellManaging Windows ServerManaging Internet Information Services (IIS) 7.0Managing SQL Server
![Page 5: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/5.jpg)
Challenges Managing Server Systems
Database Servers
WebServers
WindowsServerSystems
![Page 6: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/6.jpg)
Solutions
Windows PowerShell
IIS 7.0 Windows PowerShell Provider
SQL Server Windows PowerShell Provider
Helps Reduce IT Costs
![Page 7: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/7.jpg)
Agenda
Reviewing Management Solutions by Using Windows PowerShellManaging Windows ServerManaging Internet Information Services (IIS) 7.0Managing SQL Server
![Page 8: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/8.jpg)
Managing Windows Server with Cmdlets
PS> get-service –name Win*
Verb NounName
ArgumentString
Command Parameter
![Page 9: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/9.jpg)
Remote Management and Windows Management Instrumentation (WMI)
PS> get-wmiobject -computer SEA-WEB-01 Win32_Service –filter “Name=‘W3SVC’”
Verb NounName
ArgumentString
Command Parameters
NameArgument
String
![Page 10: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/10.jpg)
Managing Active Directory®
Search For and Add UsersSearch For and Publish Shared Folders
![Page 11: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/11.jpg)
Demonstration Environment
Internal Network192.168.16.0
SEA-DC-01Windows Server 2008
192.168.16.1
SEA-WEB-01Windows Server 2008
192.168.16.2
![Page 12: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/12.jpg)
Demo
Managing Windows Server
Check for Hotfixes on Windows ServerUse WMI to Manage Servers RemotelySearch Active Directory for Accounts
Demo
![Page 13: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/13.jpg)
Agenda
Reviewing Management Solutions by Using Windows PowerShellManaging Windows ServerManaging Internet Information Services (IIS) 7.0Managing SQL Server
![Page 14: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/14.jpg)
Windows PowerShell Simplifies IIS Administration
Working with Web SitesManaging ConfigurationManaging Virtual Directories, Applications, Application PoolsWorking with Run-time Data
![Page 15: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/15.jpg)
Deploy Application to a Web Farm
SEA-IIS7-01 SEA-IIS7-02 SEA-IIS7-03
![Page 16: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/16.jpg)
Using WMI with Windows PowerShell
Stop Web Site by Using WMI
Remove Web Site by Using WMI
![Page 17: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/17.jpg)
Demo
Managing Internet Information Services
Manage Web SitesAdd Virtual Directories and Application PoolsAdd FTP Site
Demo
![Page 18: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/18.jpg)
Agenda
Reviewing Management Solutions by Using Windows PowerShellManaging Windows ServerManaging Internet Information Services (IIS) 7.0Managing SQL Server
![Page 19: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/19.jpg)
Windows PowerShell Snap-in for SQL Server
Includes Two Windows PowerShellsnap-insSQL Server Management Objects to Manage DatabasesRetrieves Database State Information
![Page 20: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/20.jpg)
Interacting with WMI
Start SQL Server Service by Using WMI
Stop SQL Server Service by Using WMI
![Page 21: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/21.jpg)
Advanced SQL Server Management
Use Invoke-Sqlcmd to Run Transact-SQL Statements
Using Invoke-PolicyEvaluation
![Page 22: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/22.jpg)
Demo
Managing SQL Server
Initialize SQL Server PowerShell EnvironmentWork with SQL Server Management ObjectsStop and Start Services by Using WMI
Demo
![Page 23: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/23.jpg)
Session Summary
Managing Windows Server 2008 by Using Windows PowerShellManaging Windows Server 2008 Web Server by Using Windows PowerShellUsing Windows PowerShell to Administer SQL Server 2008 Systems
![Page 24: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/24.jpg)
Where to Find More Information?
Visit TechNet at technet.microsoft.com
Also check out TechNet Edge
edge.technet.com
Or just visit http://go.microsoft.com/?
linkid=9659394
for additional information on this session.
![Page 25: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/25.jpg)
For the more titles, visithttp://go.microsoft.com/?linkid=9659394
Supporting Publications
![Page 26: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/26.jpg)
Course ID Title
50025A Windows PowerShell for Administrators
6434 Automating Windows Server 2008 Administration with Windows PowerShell
For more training information http://go.microsoft.com/?linkid=9659394
Training Resources
![Page 27: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/27.jpg)
Microsoft TechNet Plus
TechNet Plus is an essential premium web-enabled and live support resource that provides IT Professionals with fast and easy access to Microsoft experts, software and technical information, enhancing IT productivity, control and planning.
Evaluate & Learn Plan & Deploy Support & Maintain
Use the TechNet Library to plan for deployment using the Knowledge Base, resource kits, and technical training
Use exclusive tools like System Center Capacity Planner to accurately plan for and deploy Exchange Server and System Center Operations Manager
2 complimentary Professional Support incidents for use 24/7 (20% discount on additional incidents)
Access over 100 managed newsgroups and get next business day response--guaranteed
Use the TechNet Library to maintain your IT environment with security updates, service packs and utilities
Get all these resources and more with a TechNet Plus subscription.For more information visit: technet.microsoft.com/subscriptions
Evaluate full versions of all Microsoft commercial software for evaluation—without time limits. This includes all client, server and Office applications.
Try out all the latest betas before public release
Keep your skills current with quarterly training resources including select Microsoft E-Learning courses
![Page 28: Managing Web Infrastructure Systems With Windows Power Shell™ 2.0 90](https://reader038.vdocuments.us/reader038/viewer/2022110115/54b58c6f4a7959bb6a8b4569/html5/thumbnails/28.jpg)